linux-sg2042/arch/i386
Thomas Gleixner d9a5c0a4e0 [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems
commit f9690982b8 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 <tglx@linutronix.de>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-24 15:45:53 -07:00
..
boot Use ARRAY_SIZE() macro in i386 relocs.c file 2007-02-17 19:10:01 +01:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
kernel [PATCH] i386: Prevent early access to TSC to avoid crash on TSCless systems 2007-03-24 15:45:53 -07:00
lib {rd,wr}msr_on_cpu SMP=n optimization 2007-02-20 14:29:37 -05:00
mach-default [PATCH] clockevents: i386 drivers 2007-02-16 08:13:59 -08:00
mach-es7000 ACPICA: Remove duplicate table manager 2007-02-02 21:14:28 -05:00
mach-generic [PATCH] i386: make apic probe function non-init 2007-01-11 01:52:44 +01:00
mach-visws [PATCH] visws: sgivwfb as module needs exports 2006-12-08 08:29:07 -08:00
mach-voyager [PATCH] x86: fix PDA variables to work during boot 2007-01-22 19:39:36 -08:00
math-emu [PATCH] i386: avoid gcc extension 2007-02-13 13:26:24 +01:00
mm [PATCH] i386: Remove extern declaration from mm/discontig.c, put in header. 2007-02-13 13:26:26 +01:00
oprofile Replace remaining references to "driverfs" with "sysfs". 2007-02-17 19:13:42 +01:00
pci PCI: add systems for automatic breadth-first device sorting 2007-02-16 15:30:11 -08:00
power Merge branch 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6 2006-12-07 08:59:11 -08:00
Kconfig [PATCH] Fix VMI and COMPAT_VDSO for 2.6.21 2007-03-12 16:33:51 -07:00
Kconfig.cpu [PATCH] i386: Remove unused kernel config option X86_XADD 2007-02-13 13:26:25 +01:00
Kconfig.debug [PATCH] i386: Paravirt debug defaults off 2007-02-13 13:26:22 +01:00
Makefile [PATCH] x86: add -freg-struct-return to CFLAGS 2007-02-26 12:53:30 -08:00
Makefile.cpu [PATCH] i386: Add support for compilation for Core2 2006-12-07 02:14:09 +01:00
defconfig [PATCH] i386: Update defconfig 2007-03-16 21:07:36 +01:00