aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/mm
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-07-31 03:37:53 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-31 18:39:38 -0400
commit64d158bc3db121fd2bec29057a44843930b044fa (patch)
treeaba26bb5c6f2b924d4d1db48672b8de4bfa13542 /arch/alpha/mm
parent4a4b88317aa02c82e66e37debb764d4ff3eedd70 (diff)
alpha: fix two section mismatch warnings
Fix the following section mismatch warnings: WARNING: o-alpha/vmlinux.o(.text+0x1a4d4): Section mismatch: reference to .init.text:free_area_init (between 'paging_init' and 'srm_paging_stop') WARNING: o-alpha/vmlinux.o(.text+0x1a4dc): Section mismatch: reference to .init.text:free_area_init (between 'paging_init' and 'srm_paging_stop') One instance of paging_init() was declared __init but not the other one - used by defconfig. Fixed by declaring the second instance ___init too. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Richard Henderson <rth@twiddle.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/alpha/mm')
-rw-r--r--arch/alpha/mm/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/alpha/mm/init.c b/arch/alpha/mm/init.c
index 550f4907d613..5e6da47779a4 100644
--- a/arch/alpha/mm/init.c
+++ b/arch/alpha/mm/init.c
@@ -267,8 +267,7 @@ callback_init(void * kernel_end)
267/* 267/*
268 * paging_init() sets up the memory map. 268 * paging_init() sets up the memory map.
269 */ 269 */
270void 270void __init paging_init(void)
271paging_init(void)
272{ 271{
273 unsigned long zones_size[MAX_NR_ZONES] = {0, }; 272 unsigned long zones_size[MAX_NR_ZONES] = {0, };
274 unsigned long dma_pfn, high_pfn; 273 unsigned long dma_pfn, high_pfn;