linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zwane Mwaikambo <zwane@linux.realnet.co.sz>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] [2.5.12] test_bit fixes
Date: Fri, 3 May 2002 09:43:40 +0200 (SAST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0205030940480.12156-100000@netfinity.realnet.co.sz> (raw)

arch/i386/kernel/microcode.c
arch/i386/kernel/msr.c

Now i just need to wade through the alsa ones...

--- linux-2.5/arch/i386/kernel/microcode.c.orig	Thu May  2 21:05:23 2002
+++ linux-2.5/arch/i386/kernel/microcode.c	Thu May  2 21:37:26 2002
@@ -211,7 +211,7 @@
 	req->err = 1; /* assume update will fail on this cpu */
 
 	if (c->x86_vendor != X86_VENDOR_INTEL || c->x86 < 6 ||
-		test_bit(X86_FEATURE_IA64, &c->x86_capability)){
+		test_bit(X86_FEATURE_IA64, c->x86_capability)){
 		printk(KERN_ERR "microcode: CPU%d not a capable Intel processor\n", cpu_num);
 		return;
 	}
--- linux-2.5/arch/i386/kernel/msr.c.orig	Thu May  2 20:54:32 2002
+++ linux-2.5/arch/i386/kernel/msr.c	Thu May  2 21:37:18 2002
@@ -236,7 +236,7 @@
   
   if ( !(cpu_online_map & (1UL << cpu)) )
     return -ENXIO;		/* No such CPU */
-  if ( !test_bit(X86_FEATURE_MSR, &c->x86_capability) )
+  if ( !test_bit(X86_FEATURE_MSR, c->x86_capability) )
     return -EIO;		/* MSR not supported */
   
   return 0;

-- 
http://function.linuxpower.ca


                 reply	other threads:[~2002-05-03  8:04 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=Pine.LNX.4.44.0205030940480.12156-100000@netfinity.realnet.co.sz \
    --to=zwane@linux.realnet.co.sz \
    --cc=linux-kernel@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).