Skip to contentSkip to conversation

: Fix IP22 4k cache macro in cpu-feature-overrides.h

PATCH In review Kumba 2 participants 2 messages Jan 23, 2006 MIPS

lore
Share & tools
lore

Kumba

author
#0 lore raw

PATCH 1/1 : Fix IP22 4k cache macro in cpu-feature-overrides.h

In include/asm-mips/mach-ip22/cpu-feature-overrides.h, the macro to use R4K-style caches is mis-spelt. This will cause IP22 systems to panic early in the boot due to no cache style being defined. The attached patch corrects this.

--Kumba

--
Gentoo/MIPS Team Lead
Gentoo Foundation Board of Trustees

"Such is oft the course of deeds that move the wheels of the world: small hands do them because they must, while the eyes of the great are elsewhere." --Elrond

asm-mips/mach-ip22/cpu-feature-overrides.h renamed from asm-mips/mach-ip22/cpu-feature-overrides.h.orig +1 -1
@@ -13,7 +13,7 @@
  */
 #define cpu_has_tlb		1
 #define cpu_has_4kex		1
-#define cpu_has_4kcache		1
+#define cpu_has_4k_cache	1
 #define cpu_has_fpu		1
 #define cpu_has_32fpr		1
 #define cpu_has_counter		1
#1 lore raw
Quoted 4 lines · Kumba

In include/asm-mips/mach-ip22/cpu-feature-overrides.h, the macro to use R4K-style caches is mis-spelt. This will cause IP22 systems to panic early in the boot due to no cache style being defined. The attached patch corrects this.

"cpu_has_4kcache" is used in a number of other files too.

Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/