Module Name:    src
Committed By:   matt
Date:           Mon Jul  9 17:12:39 UTC 2012

Modified Files:
        src/sys/arch/mips/mips [matt-nb5-mips64]: cache_r4k_subr.S

Log Message:
Add a .set mips32 so that O32 kernels can compile.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/arch/mips/mips/cache_r4k_subr.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/cache_r4k_subr.S
diff -u src/sys/arch/mips/mips/cache_r4k_subr.S:1.1.2.3 src/sys/arch/mips/mips/cache_r4k_subr.S:1.1.2.4
--- src/sys/arch/mips/mips/cache_r4k_subr.S:1.1.2.3	Thu Feb 16 10:44:30 2012
+++ src/sys/arch/mips/mips/cache_r4k_subr.S	Mon Jul  9 17:12:39 2012
@@ -37,7 +37,7 @@
 
 #include <mips/asm.h>
 
-RCSID("$NetBSD: cache_r4k_subr.S,v 1.1.2.3 2012/02/16 10:44:30 matt Exp $")
+RCSID("$NetBSD: cache_r4k_subr.S,v 1.1.2.4 2012/07/09 17:12:39 matt Exp $")
 
 #include <mips/cache_r4k.h>
 
@@ -45,6 +45,12 @@ RCSID("$NetBSD: cache_r4k_subr.S,v 1.1.2
 #error LINE_SHIFT undefined
 #endif
 
+#ifdef __mips_o32
+	.set	mips32
+#else
+	.set	mips3
+#endif
+
 #define	LINE_SIZE		(1 << LINE_SHIFT)
 
 #ifdef __STDC__

Reply via email to