From: Hans de Goede Date: Mon, 30 Mar 2015 20:17:10 +0000 (+0200) Subject: clocksource/drivers/sun4i-timer: Only register a sched_clock on sun4i and sun5i X-Git-Tag: omap-for-v4.2/o2_dc~187^2~63 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37b8b003c483191a327a740fc32c1993959e7ae9;p=pandora-kernel.git 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 Signed-off-by: Daniel Lezcano Acked-by: Maxime Ripard 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 --- Reading git-diff-tree failed