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 53d517cdbaac704352b3d0c10fecb99e0b54572e

    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-04-26 17:44:55 +02:00
2008-04-30 08:29:37 -07:00
2008-05-13 19:38:47 +02:00
2007-10-20 01:13:56 +02:00
2007-10-17 20:16:15 +02:00
2008-05-10 19:31:45 +02:00
2008-04-30 23:15:35 +02:00