patch-2.1.109 linux/drivers/net/hamradio/soundmodem/sm.h

Next file: linux/drivers/net/ibmtr.c
Previous file: linux/drivers/net/hamradio/baycom_epp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.108/linux/drivers/net/hamradio/soundmodem/sm.h linux/drivers/net/hamradio/soundmodem/sm.h
@@ -32,6 +32,7 @@
 
 #include <linux/hdlcdrv.h>
 #include <linux/soundmodem.h>
+#include <asm/processor.h>
 #include <linux/bitops.h>
 
 #define SM_DEBUG
@@ -297,7 +298,7 @@
 
 #include <asm/processor.h>
 
-#define HAS_RDTSC (current_cpu_data.x86_capability & 0x10)
+#define HAS_RDTSC (current_cpu_data.x86_capability & X86_FEATURE_TSC)
 
 /*
  * only do 32bit cycle counter arithmetic; we hope we won't overflow.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov