• Daniel J Blueman's avatar
    x86: section/warning fixes · 0b1faeef
    Daniel J Blueman authored
    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: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
    Cc: "Linus Torvalds" <torvalds@linux-foundation.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    0b1faeef
init_64.c 23.4 KB