aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2007-03-24 22:02:49 +0000
committerLinus Torvalds <[email protected]>2007-03-24 22:45:53 +0000
commitd9a5c0a4e0b4c84850a1a5bbacba3f7858b67037 (patch)
tree5efaefd34302050ef6d530dafc20635c7ad2842b /scripts/basic/docproc.c
parent[MIPS] SB1250: Fix bugs/warnings by creative use of volatile. (diff)
downloadkernel-d9a5c0a4e0b4c84850a1a5bbacba3f7858b67037.tar.gz
kernel-d9a5c0a4e0b4c84850a1a5bbacba3f7858b67037.zip
[PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems
commit f9690982b8c2f9a2c65acdc113e758ec356676a3 removed the check for cpu_khz from sched_clock(), which prevented early access to the TSC by non obvious magic. This is harmless as long as the CPU has a TSC. On TSCless systems this results in an illegal instruction trap. Replace tsc_disabled and tsc_unstable by tsc_enabled, which is only set when the tsc is available and not unstable. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Ingo Molnar <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions