]> Pileus Git - ~andy/linux/commit
clocksource: sun4i: Switch to sched_clock_register()
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Nov 2013 23:47:32 +0000 (00:47 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 11 Dec 2013 10:40:24 +0000 (11:40 +0100)
commit662e7230ee16951e6858c01e72db87c5dc46150e
tree15cadc762fa6bb76d777a5fed756c3dd8cbbf6e7
parentdfded00902d7437963870accbcf4b39114e85f59
clocksource: sun4i: Switch to sched_clock_register()

The 32 bit sched_clock interface now supports 64 bits. Upgrade to
the 64 bit function to allow us to remove the 32 bit registration
interface. While we're here, mark the sched_clock function as
notrace to prevent ftrace recursion crashes.

Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/sun4i_timer.c