public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rasmus Andersen <rasmus@jaquet.dk>
To: sailer@ife.ee.ethz.ch
Cc: linux-kernel@vger.kernel.org
Subject: [uPATCH] Compile error in drivers/net/hamradio/baycom_epp.c (240-t11p5)
Date: Thu, 16 Nov 2000 21:12:40 +0100	[thread overview]
Message-ID: <20001116211240.B716@jaquet.dk> (raw)

Hi.

Recent changes in the kernel has made the patch below necessary:


--- linux-240-t11-pre5-clean/drivers/net/hamradio/baycom_epp.c	Sat Nov  4 23:27:07 2000
+++ linux/drivers/net/hamradio/baycom_epp.c	Thu Nov 16 20:27:22 2000
@@ -812,10 +812,10 @@
 /* --------------------------------------------------------------------- */
 
 #ifdef __i386__
-#define GETTICK(x)                                                \
-({                                                                \
-	if (current_cpu_data.x86_capability & X86_FEATURE_TSC)    \
-		__asm__ __volatile__("rdtsc" : "=a" (x) : : "dx");\
+#define GETTICK(x)                                                      \
+({                                                                      \
+	if (test_bit(X86_FEATURE_TSC, &current_cpu_data.x86_capability))\
+		__asm__ __volatile__("rdtsc" : "=a" (x) : : "dx");      \
 })
 #else /* __i386__ */
 #define GETTICK(x)

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

There are two major products that come out of Berkeley: LSD and UNIX. We 
don't believe this to be a coincidence. -- Jeremy S. Anderson 
-
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/

                 reply	other threads:[~2000-11-16 20:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001116211240.B716@jaquet.dk \
    --to=rasmus@jaquet.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sailer@ife.ee.ethz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox