]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: pxa: Fix section mismatch
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 31 Jan 2015 22:40:40 +0000 (23:40 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 25 Feb 2015 09:28:55 +0000 (10:28 +0100)
commita72a825278b26e27538a62cb69a3ef14b8c122df
tree42664be9c9c7987c4f48998b7ca4188d9c515cac
parent8e9eee707fe7b681ecae9b69274f81ddd2936043
clocksource: pxa: Fix section mismatch

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: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/pxa_timer.c