• S
    ARM: 7401/1: mm: Fix section mismatches · 14904927
    Stephen Boyd 提交于
    WARNING: vmlinux.o(.text+0x111b8): Section mismatch in reference
    from the function arm_memory_present() to the function
    .init.text:memory_present()
    The function arm_memory_present() references
    the function __init memory_present().
    This is often because arm_memory_present lacks a __init
    annotation or the annotation of memory_present is wrong.
    
    WARNING: arch/arm/mm/built-in.o(.text+0x1edc): Section mismatch
    in reference from the function alloc_init_pud() to the function
    .init.text:alloc_init_section()
    The function alloc_init_pud() references
    the function __init alloc_init_section().
    This is often because alloc_init_pud lacks a __init
    annotation or the annotation of alloc_init_section is wrong.
    Signed-off-by: NStephen Boyd <sboyd@codeaurora.org>
    Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
    14904927
init.c 19.1 KB