Skip to contentSkip to conversation

fix git tip for sibyte

PATCH New Andy Isaacson 1 participant 1 message Oct 20, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix git tip for sibyte

Use x & ~bitmask to turn bits off, rather than x & bitmask.

arch/mips/kernel/cpu-probe.c +1 -1
Index: lmo/arch/mips/kernel/cpu-probe.c
===================================================================
@@ -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) {