diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-09-11 14:10:10 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-09-11 14:10:10 +0000 |
commit | e75b8b0a62cb601e946cc1dfec2b3e350b987144 (patch) | |
tree | 51dc5295325e91f13a9138c4d941051ddbdd5075 | |
parent | 27b04c7124d46979333d31941b06ad1f1e200c4a (diff) |
for v9 we defined __sparcv9__ not __sparcv9
-rw-r--r-- | usr.sbin/afs/src/lwp/process.sparc.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/afs/src/lwp/process.sparc.S b/usr.sbin/afs/src/lwp/process.sparc.S index b67744f11ea..95214662eae 100644 --- a/usr.sbin/afs/src/lwp/process.sparc.S +++ b/usr.sbin/afs/src/lwp/process.sparc.S @@ -1,4 +1,4 @@ -/* $Id: process.sparc.S,v 1.1 2000/09/11 14:41:09 art Exp $ */ +/* $Id: process.sparc.S,v 1.2 2001/09/11 14:10:09 jason Exp $ */ /* **************************************************************************** @@ -72,7 +72,7 @@ ENTRY(savecontext) /* The following 3 lines do the equivalent of: _PRE_Block = 1 */ #ifdef AFS_SUN5_ENV -#ifdef __sparcv9 +#if defined(__sparcv9) || defined(__sparcv9__) sethi %hh(PRE_Block),%l0 or %l0,%hm(PRE_Block),%l0 sethi %lm(PRE_Block),%g1 @@ -89,7 +89,7 @@ ENTRY(savecontext) mov 1,%l1 stb %l1, [%l0] -#ifdef __sparcv9 +#if defined(__sparcv9) || defined(__sparcv9__) topstack = 0 globals = 8 @@ -323,7 +323,7 @@ L1: call %i0 ! call f() ENTRY(returnto) ta ST_FLUSH_WINDOWS ! FLush all other active windows -#ifdef __sparcv9 +#if defined(__sparcv9) || defined(__sparcv9__) #ifdef save_allregs ldx [%i1 + globals + 64 + 0], %f0 @@ -509,7 +509,7 @@ ENTRY(returnto) /* The following 3 lines are equivalent to: _PRE_Block = 0 */ #ifdef AFS_SUN5_ENV -#ifdef __sparcv9 +#if defined(__sparcv9) || defined(__sparcv9__) sethi %hh(_C_LABEL(PRE_Block)),%l0 or %l0,%hm(_C_LABEL(PRE_Block)),%l0 sethi %lm(_C_LABEL(PRE_Block)),%g1 |