linux-mips
[Top] [All Lists]

[PATCH] fix git tip for sibyte

To: linux-mips@linux-mips.org
Subject: [PATCH] fix git tip for sibyte
From: Andy Isaacson <adi@hexapodia.org>
Date: Wed, 19 Oct 2005 22:23:50 -0700
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2i
Use x & ~bitmask to turn bits off, rather than x & bitmask.

Signed-Off-By: Andy Isaacson <adi@hexapodia.org>

Index: lmo/arch/mips/kernel/cpu-probe.c
===================================================================
--- lmo.orig/arch/mips/kernel/cpu-probe.c       2005-10-19 22:20:09.000000000 
-0700
+++ lmo/arch/mips/kernel/cpu-probe.c    2005-10-19 22:20:48.000000000 -0700
@@ -618,7 +618,7 @@
         * cache code which eventually will be folded into c-r4k.c.  Until
         * then we pretend it's got it's own cache architecture.
         */
-       c->options &= MIPS_CPU_4K_CACHE;
+       c->options &= ~MIPS_CPU_4K_CACHE;
        c->options |= MIPS_CPU_SB1_CACHE;
 
        switch (c->processor_id & 0xff00) {

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix git tip for sibyte, Andy Isaacson <=