Peter Zijlstra e3b4f79025 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
2018-05-02 16:10:40 +02:00
..
2018-03-08 12:04:59 +01:00
2017-08-31 21:34:48 +02:00
2018-04-12 09:05:58 +02:00
2017-12-12 11:32:24 +01:00
2018-04-09 11:42:31 -07:00
2018-03-20 10:01:57 +01:00
2018-03-15 09:47:24 +01:00
2018-04-02 20:16:14 +02:00
2017-12-23 21:13:01 +01:00
2018-05-02 16:10:40 +02:00
2018-03-14 09:21:01 +01:00
2017-09-25 20:51:58 +02:00