]> git.baikalelectronics.ru Git - kernel.git/commit
alpha: fix two section mismatch warnings
authorSam Ravnborg <sam@ravnborg.org>
Tue, 31 Jul 2007 07:37:53 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:38 +0000 (15:39 -0700)
commitd83d73e134747bac9a3c39eb01e8156ba2034d47
treeaba26bb5c6f2b924d4d1db48672b8de4bfa13542
parent8271c5267de3431742ad3d4658ad7705fb29e4bb
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>
arch/alpha/mm/init.c