From: Greg Ungerer Date: Wed, 24 Oct 2007 02:03:46 +0000 (+1000) Subject: m68knommu: mark mem init functions as __init X-Git-Tag: v2.6.24-rc1~5 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f386c3ccf65c24e5b0711f6ec63872775555a6d3;p=linux-2.6-omap-h63xx.git m68knommu: mark mem init functions as __init Mark the m68knommu memory init functions as __init. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c index 06e538d1be3..22e2a0d02b8 100644 --- a/arch/m68knommu/mm/init.c +++ b/arch/m68knommu/mm/init.c @@ -98,7 +98,7 @@ extern unsigned long memory_end; * The parameters are pointers to where to stick the starting and ending * addresses of available kernel virtual memory. */ -void paging_init(void) +void __init paging_init(void) { /* * Make sure start_mem is page aligned, otherwise bootmem and @@ -147,7 +147,7 @@ void paging_init(void) } } -void mem_init(void) +void __init mem_init(void) { int codek = 0, datak = 0, initk = 0; unsigned long tmp;