Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH] fix git tip for sibyte
@ 2005-10-20  5:23 Andy Isaacson
  0 siblings, 0 replies; only message in thread
From: Andy Isaacson @ 2005-10-20  5:23 UTC (permalink / raw)
  To: linux-mips

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) {

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

only message in thread, other threads:[~2005-10-20  5:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-20  5:23 [PATCH] fix git tip for sibyte Andy Isaacson

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