• Robert Jarzmik's avatar
    clocksource: pxa: Fix section mismatch · 6f2116eb
    Robert Jarzmik authored
    As pxa_timer_common_init() is only called in init context, mark it as
    such, and quiesce the compiler warnings :
    WARNING: vmlinux.o(.text.unlikely+0x45d4): Section mismatch in reference
    from the function pxa_timer_common_init() to the function
    .init.text:sched_clock_register()
    
    WARNING: vmlinux.o(.text.unlikely+0x4610): Section mismatch in reference
    from the function pxa_timer_common_init() to the function
    .init.text:clocksource_mmio_init()
    Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
    Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
    6f2116eb
pxa_timer.c 6.02 KB