Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips Don't .set mips64 if we are already mips64



details:   https://anonhg.NetBSD.org/src/rev/5e550723d140
branches:  trunk
changeset: 338366:5e550723d140
user:      matt <matt%NetBSD.org@localhost>
date:      Wed May 20 07:04:49 2015 +0000

description:
Don't .set mips64 if we are already mips64

diffstat:

 sys/arch/mips/mips/cache_mipsNN.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 067854ed4847 -r 5e550723d140 sys/arch/mips/mips/cache_mipsNN.c
--- a/sys/arch/mips/mips/cache_mipsNN.c Wed May 20 05:21:24 2015 +0000
+++ b/sys/arch/mips/mips/cache_mipsNN.c Wed May 20 07:04:49 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache_mipsNN.c,v 1.14 2011/04/29 22:19:30 matt Exp $   */
+/*     $NetBSD: cache_mipsNN.c,v 1.15 2015/05/20 07:04:49 matt Exp $   */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cache_mipsNN.c,v 1.14 2011/04/29 22:19:30 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cache_mipsNN.c,v 1.15 2015/05/20 07:04:49 matt Exp $");
 
 #include <sys/param.h>
 
@@ -62,7 +62,7 @@
 
 #ifdef __mips_o32
 __asm(".set mips32");
-#else
+#elif !defined(__mips64)
 __asm(".set mips64");
 #endif
 



Home | Main Index | Thread Index | Old Index