clocksource/drivers/sun4i-timer: Only register a sched_clock on sun4i and sun5i
authorHans de Goede <hdegoede@redhat.com>
Mon, 30 Mar 2015 20:17:10 +0000 (22:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 31 Mar 2015 07:15:58 +0000 (09:15 +0200)
commit37b8b003c483191a327a740fc32c1993959e7ae9
treea158501ef6a3db43b88aa0382652b108711781f1
parent59196bcef5c1034f020fe5bf3579f89767537246
clocksource/drivers/sun4i-timer: Only register a sched_clock on sun4i and sun5i

sun6i and newer have an arm arch timer which is a better
sched_clock source then the sun4i-timer, and sched_clock does
not have priorities, so do not register the sun4i-timer
sched_clock at all on sun6i and newer.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: ben.dooks@codethink.co.uk
Cc: digetx@gmail.com
Cc: laurent.pinchart+renesas@ideasonboard.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: viresh.kumar@linaro.org
Link: http://lkml.kernel.org/r/1427746633-9137-8-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/clocksource/sun4i_timer.c