patch-2.3.20 linux/include/asm-i386/processor.h
Next file: linux/include/asm-i386/smp.h
Previous file: linux/include/asm-i386/msr.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Oct 8 10:25:18 1999
- Orig file:
v2.3.19/linux/include/asm-i386/processor.h
- Orig date:
Wed Aug 18 16:43:30 1999
diff -u --recursive --new-file v2.3.19/linux/include/asm-i386/processor.h linux/include/asm-i386/processor.h
@@ -106,6 +106,9 @@
#define current_cpu_data boot_cpu_data
#endif
+#define cpu_has_tsc \
+ (cpu_data[smp_processor_id()].x86_capability & X86_FEATURE_TSC)
+
extern char ignore_irq13;
extern void identify_cpu(struct cpuinfo_x86 *);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)