public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [uPATCH] Compile error in drivers/net/hamradio/soundmodem/sm_sbm.c (240-t11p5)
@ 2000-11-16 20:14 Rasmus Andersen
  0 siblings, 0 replies; only message in thread
From: Rasmus Andersen @ 2000-11-16 20:14 UTC (permalink / raw)
  To: sailer; +Cc: linux-kernel

Hi.

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

--- linux-240-t11-pre5-clean/drivers/net/hamradio/soundmodem/sm.h	Wed Aug 18 20:38:50 1999
+++ linux/drivers/net/hamradio/soundmodem/sm.h	Thu Nov 16 20:33:17 2000
@@ -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.

-- 
Regards,
        Rasmus(rasmus@jaquet.dk)

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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-16 20:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-16 20:14 [uPATCH] Compile error in drivers/net/hamradio/soundmodem/sm_sbm.c (240-t11p5) Rasmus Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox