From: Thomas Gleixner Date: Sun, 18 May 2008 17:27:48 +0000 (+0200) Subject: x86: fix setup of cyc2ns in tsc_64.c X-Git-Tag: v2.6.26-rc4~11^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6db80ee1331e7beaeb91b4b3d946dd16c72e388;p=pandora-kernel.git 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 Cc: stable@kernel.org --- Reading git-diff-tree failed