patch-2.2.0-pre2 linux/arch/i386/kernel/time.c
Next file: linux/arch/i386/mm/init.c
Previous file: linux/arch/i386/kernel/smp.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Wed Dec 30 14:19:37 1998
- Orig file:
v2.2.0-pre1/linux/arch/i386/kernel/time.c
- Orig date:
Mon Dec 28 15:00:52 1998
diff -u --recursive --new-file v2.2.0-pre1/linux/arch/i386/kernel/time.c linux/arch/i386/kernel/time.c
@@ -118,10 +118,7 @@
#define TICK_SIZE tick
-/*
- * Older CPU's don't have the rdtsc instruction..
- */
-#if CPU < 586
+#ifndef CONFIG_TSC
/* This function must be called with interrupts disabled
* It was inspired by Steve McCanne's microtime-i386 for BSD. -- jrs
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov