summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1999-02-01 16:23:15 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1999-02-01 16:23:15 +0000
commit35bcaa473be49c8038aa2bc8de15d36eb76b20c4 (patch)
tree05555d0a73197a6eff4b6769c88dc92ee3755661
parent98de5d07eb392f4fca6db586179da9c6e5fed5c8 (diff)
Hmmm... why not fixed before?
-rw-r--r--usr.sbin/afs/src/lwp/process.S9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr.sbin/afs/src/lwp/process.S b/usr.sbin/afs/src/lwp/process.S
index a65f476afb1..0a7015eb6ec 100644
--- a/usr.sbin/afs/src/lwp/process.S
+++ b/usr.sbin/afs/src/lwp/process.S
@@ -1,4 +1,4 @@
-/* $Header: /cvs/OpenBSD/src/usr.sbin/afs/src/lwp/Attic/process.S,v 1.2 1998/10/16 07:45:36 maja Exp $ */
+/* $Header: /cvs/OpenBSD/src/usr.sbin/afs/src/lwp/Attic/process.S,v 1.3 1999/02/01 16:23:14 pefo Exp $ */
/* $Source: /cvs/OpenBSD/src/usr.sbin/afs/src/lwp/Attic/process.S,v $ */
/*
@@ -825,10 +825,13 @@ _returnto:
#endif
#ifdef mips
-#ifdef sgi
+#if defined(sgi) || defined(__OpenBSD__)
.option pic2
-
+#if defined(sgi)
#include <regdef.h> /* Allow use of symbolic names for registers. */
+#else
+#include <machine/regdef.h> /* Allow use of symbolic names for registers. */
+#endif
/* 9 sregs, ra, 6 fp regs, gp, pad to 8 byte boundary */
#define regspace 9 * 4 + 4 + 6 * 8 + 4 + 4
#define floats 0