Skip to contentSkip to conversation

Minor patch to build kernel for Ocelot-3

PATCH New Manish Lachwani 1 participant 1 message Jan 12, 2005 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Minor patch to build kernel for Ocelot-3

Hello !

Attached patch is needed to build the kernel for Ocelot-3. Please apply

Thanks
Manish Lachwani

mips/mm/sc-rm7k.c renamed from mips/mm/sc-rm7k.c.orig +2 -2
@@ -127,13 +127,13 @@
 		      ".set mips0\n\t"
 		      ".set reorder"
 		      :
-		      : "r" (KSEG0ADDR(i)), "i" (Index_Store_Tag_SD));
+		      : "r" (CKSEG0ADDR(i)), "i" (Index_Store_Tag_SD));
 	}
 }
 
 static __init void rm7k_sc_enable(void)
 {
-	void (*func)(void) = (void *) KSEG1ADDR(&__rm7k_sc_enable);
+	void (*func)(void) = (void *) CKSEG1ADDR(&__rm7k_sc_enable);
 
 	if (read_c0_config() & 0x08)			/* CONF_SE */
 		return;