patch-2.1.109 linux/drivers/char/hfmodem/refclock.c
Next file: linux/drivers/char/keyboard.c
Previous file: linux/drivers/char/fbmem.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Fri Jul 10 14:01:13 1998
- Orig file:
v2.1.108/linux/drivers/char/hfmodem/refclock.c
- Orig date:
Fri May 8 23:14:47 1998
diff -u --recursive --new-file v2.1.108/linux/drivers/char/hfmodem/refclock.c linux/drivers/char/hfmodem/refclock.c
@@ -30,6 +30,7 @@
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/hfmodem.h>
+#include <asm/processor.h>
/* --------------------------------------------------------------------- */
@@ -67,7 +68,7 @@
#ifdef __i386__
__initfunc(static void i386_capability(void))
{
- if (boot_cpu_data.x86_capability & 0x10)
+ if (boot_cpu_data.x86_capability & X86_FEATURE_TSC))
rdtsc_ok = 1;
else
printk(KERN_INFO "%s: cpu does not support the rdtsc instruction\n", hfmodem_drvname);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov