diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-03-26 10:27:09 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-03-26 10:59:40 +0100 |
commit | 6e206020324c50a95486f6b279a53512febed92d (patch) | |
tree | 1bfda9e20d5aaec0802bf7d57cf3f0750d8d9959 /drivers/clocksource/timer-atlas7.c | |
parent | 11bc26fe372fa6da81c82c68f755d2795838a640 (diff) |
clocksource/drivers/sun5i: Fix cpufreq interaction with sched_clock()
The sun5i timer is used as the sched-clock on certain systems, and ever
since we started using cpufreq, the cpu clock (that is one of the
timer's clock indirect parent) now changes as well, along with the
actual sched_clock() rate.
This is not accurate and not desirable.
We can safely remove the sun5i sched-clock on those systems, since we
have other reliable sched_clock() sources in the system.
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
[ Improved the changelog. ]
Cc: richard@nod.at
Link: http://lkml.kernel.org/r/1427362029-6511-4-git-send-email-daniel.lezcano@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/clocksource/timer-atlas7.c')
0 files changed, 0 insertions, 0 deletions