]> git.karo-electronics.de Git - karo-tx-linux.git/commit
x86/timers: Move simple_udelay_calibration past init_hypervisor_platform
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 24 May 2017 18:04:41 +0000 (20:04 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 26 May 2017 11:04:09 +0000 (13:04 +0200)
commit702644ec1cab10ffefcebb4060d4da46d4ef2c7f
tree4aa816b6e008b3cfee2cd08a0129ace8baa837ab
parentfc152d22d6e9fac95a9a990e6c29510bdf1b9425
x86/timers: Move simple_udelay_calibration past init_hypervisor_platform

This ensures that adjustments to x86_platform done by the hypervisor
setup is already respected by this simple calibration.

The current user of this, introduced by 1b5aeebf3a92 ("x86/earlyprintk:
Add support for earlyprintk via USB3 debug port"), comes much later
into play.

Fixes: dd759d93f4dd ("x86/timers: Add simple udelay calibration")
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: http://lkml.kernel.org/r/5e89fe60-aab3-2c1c-aba8-32f8ad376189@siemens.com
arch/x86/kernel/setup.c