x86: section/warning fixes
authorDaniel J Blueman <daniel.blueman@gmail.com>
Sun, 15 Jun 2008 11:32:15 +0000 (12:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jun 2008 13:33:09 +0000 (15:33 +0200)
commit0b1faeef5f9243bb5fc5713a34bbf1ceab0de562
treec5eddbc958164b8a8a2d4b5665a0fc5be4c78d67
parent41aefdcc98fdba47459eab67630293d67e855fc3
x86: section/warning fixes

WARNING: arch/x86/mm/built-in.o(.text+0x3a1): Section mismatch in
reference from the function set_pte_phys() to the function
.init.text:spp_getpage()
The function set_pte_phys() references
the function __init spp_getpage().
This is often because set_pte_phys lacks a __init
annotation or the annotation of spp_getpage is wrong.

arch/x86/mm/init_64.c: In function 'early_memtest':
arch/x86/mm/init_64.c:520: warning: passing argument 2 of
'find_e820_area_size' from incompatible pointer type

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Cc: "Linus Torvalds" <torvalds@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/mm/init_64.c