diff options
author | Peter Zijlstra <peterz@infradead.org> | 2018-04-30 12:00:12 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-05-02 16:10:40 +0200 |
commit | e3b4f79025e0a4eb7e2a2c7d24dadfa1e38893b0 (patch) | |
tree | eae4409645f748c251d1085c7f00f8dfef71c4f5 /Kbuild | |
parent | 5b9e886a4af97574ca3ce1147f35545da0e7afc7 (diff) | |
download | linux-e3b4f79025e0a4eb7e2a2c7d24dadfa1e38893b0.tar.bz2 |
x86/tsc: Fix mark_tsc_unstable()
mark_tsc_unstable() also needs to affect tsc_early, Now that
clocksource_mark_unstable() can be used on a clocksource irrespective of
its registration state, use it on both tsc_early and tsc.
This does however require cs->list to be initialized empty, otherwise it
cannot tell the registation state before registation.
Fixes: aa83c45762a2 ("x86/tsc: Introduce early tsc clocksource")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Diego Viola <diego.viola@gmail.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: len.brown@intel.com
Cc: rjw@rjwysocki.net
Cc: rui.zhang@intel.com
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20180430100344.533326547@infradead.org
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions