Files
android_kernel_xiaomi_sm8450/arch
Thomas Gleixner b6db80ee13 x86: fix setup of cyc2ns in tsc_64.c
When the TSC is calibrated against the PIT due to the nonavailability
of PMTIMER/HPET or due to SMI interference then the setup of the per
CPU cyc2ns variables is skipped. This is unlikely to happen but it
would definitely render sched_clock() unusable.

This was introduced with commit 53d517cdba

    x86: scale cyc_2_nsec according to CPU frequency

Update the per CPU cyc2ns variables in all exit pathes of tsc_calibrate.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@kernel.org
2008-05-23 14:08:06 +02:00
..
2008-05-16 17:22:20 -04:00
2008-05-16 17:22:20 -04:00
2008-05-16 17:22:20 -04:00
2008-05-16 17:22:20 -04:00
2008-05-12 22:57:51 +10:00
2008-05-16 17:22:20 -04:00
2008-05-20 00:33:44 -07:00
2008-05-16 17:22:20 -04:00
2008-05-23 14:08:06 +02:00
2008-04-29 08:06:11 -07:00