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 undef SYSCALL_SHIFT after using it so tha...



details:   https://anonhg.NetBSD.org/src/rev/ab8260b3f5a4
branches:  trunk
changeset: 524899:ab8260b3f5a4
user:      manu <manu%NetBSD.org@localhost>
date:      Mon Apr 01 21:06:21 2002 +0000

description:
undef SYSCALL_SHIFT after using it so that it is possible to define both
COMPAT_IRIX and COMPAT_LINUX without getting warnings about SYSCALL_SHIFT
being redefined.

diffstat:

 sys/arch/mips/mips/locore.S |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 38b9c4b66590 -r ab8260b3f5a4 sys/arch/mips/mips/locore.S
--- a/sys/arch/mips/mips/locore.S       Mon Apr 01 20:37:41 2002 +0000
+++ b/sys/arch/mips/mips/locore.S       Mon Apr 01 21:06:21 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.132 2002/03/05 15:48:31 simonb Exp $      */
+/*     $NetBSD: locore.S,v 1.133 2002/04/01 21:06:21 manu Exp $        */
 
 /*
  * Copyright (c) 1992, 1993
@@ -199,6 +199,7 @@
        break   0                       # just in case sigreturn fails
 END(linux_sigcode)
 XLEAF(linux_esigcode)
+#undef SYSCALL_SHIFT
 #endif
 
 #ifdef COMPAT_IRIX
@@ -210,6 +211,7 @@
        break   0                       # just in case sigreturn fails
 END(irix_sigcode)
 XLEAF(irix_esigcode)
+#undef SYSCALL_SHIFT
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index