• Jacek Luczak's avatar
    x86: e820_64, fix section mismatch warning · 1a7a34af
    Jacek Luczak authored
    fix section mismatch warnings which occurs on my x86_64 box while compiling
    linux-next-20080410:
    
    Warning messages:
    
    WARNING: arch/x86/kernel/built-in.o(.text+0x7bc2): Section mismatch in reference from the function bad_addr() to the
    variable .init.data:early_res
    The function bad_addr() references
    the variable __initdata early_res.
    This is often because bad_addr lacks a __initdata
    annotation or the annotation of early_res is wrong.
    
    WARNING: arch/x86/kernel/built-in.o(.text+0x7c3b): Section mismatch in reference from the function bad_addr_size() to
    the variable .init.data:early_res
    The function bad_addr_size() references
    the variable __initdata early_res.
    This is often because bad_addr_size lacks a __initdata
    annotation or the annotation of early_res is wrong.
    Signed-off-by: default avatarJacek Luczak <luczak.jacek@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    1a7a34af
e820_64.c 22.8 KB