x86/tsc: Feed refined TSC calibration into sched_clock()
authorPeter Zijlstra <peterz@infradead.org>
Fri, 21 Apr 2017 09:32:46 +0000 (11:32 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 May 2017 08:15:16 +0000 (10:15 +0200)
commitaa7b630ea023d2d70b34af18cea92f31429c1db0
tree598f66accd1e9f078407398a18da6aa79348f5f7
parent615cd03373a02a17b82b253ff5e02e3a83b224f8
x86/tsc: Feed refined TSC calibration into sched_clock()

For the (older) CPUs that still need the refined TSC calibration, also
update the sched_clock() rate.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/kernel/tsc.c