Skip to contentSkip to conversation

Compile error in drivers/net/hamradio/soundmodem/sm_sbm.c (240-t11p5)

uPATCH Rasmus Andersen 1 participant 1 message Nov 16, 2000 Network drivers

lore
Share & tools
lore
#0 lore raw

Hi.

Changes in the kernel has made the patch below necessary for sm.h:

drivers/net/hamradio/soundmodem/sm.h +1 -1
@@ -299,7 +299,7 @@
 
 #ifdef __i386__
 
-#define HAS_RDTSC (current_cpu_data.x86_capability & X86_FEATURE_TSC)
+#define HAS_RDTSC (test_bit(X86_FEATURE_TSC, &current_cpu_data.x86_capability))
 
 /*
  * only do 32bit cycle counter arithmetic; we hope we won't overflow.
Signature · 9 lines
Regards,
        Rasmus([email protected])

Genius may have its limitations, but stupidity is not thus handicapped. 
  -- Elbert Hubbard 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/