Use x & ~bitmask to turn bits off, rather than x & bitmask. Signed-Off-By: Andy Isaacson <adi@xxxxxxxxxxxxx> 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) {