• Russell King's avatar
    ARM: realview,vexpress: fix section mismatch warning for pen_release · ec15038f
    Russell King authored
    Fix two section mismatch warnings in the platform SMP bringup code for
    Realview and Versatile Express:
    
    WARNING: arch/arm/mach-realview/built-in.o(.text+0x8ac): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
    The function write_pen_release() references
    the variable __cpuinitdata pen_release.
    This is often because write_pen_release lacks a __cpuinitdata
    annotation or the annotation of pen_release is wrong.
    
    WARNING: arch/arm/mach-vexpress/built-in.o(.text+0x7b4): Section mismatch in reference from the function write_pen_release() to the variable .cpuinit.data:pen_release
    The function write_pen_release() references
    the variable __cpuinitdata pen_release.
    This is often because write_pen_release lacks a __cpuinitdata
    annotation or the annotation of pen_release is wrong.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    ec15038f
platsmp.c 4.36 KB