diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2004-02-02 20:43:38 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2004-02-02 20:43:38 +0000 |
commit | 2c2562bfae4fe214117a9145bb995dad97da3f69 (patch) | |
tree | 75ade8b5b6743308ca78eeabe8ba869e55bbfd15 /lib/libpthread/arch | |
parent | 86e09e74e8b6b893701b2d25abbde8e67a37800e (diff) |
remove sparcv9 code.
ok marc@
Diffstat (limited to 'lib/libpthread/arch')
-rw-r--r-- | lib/libpthread/arch/sparc/uthread_machdep_asm.S | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libpthread/arch/sparc/uthread_machdep_asm.S b/lib/libpthread/arch/sparc/uthread_machdep_asm.S index 53ce8770df9..03baf530bef 100644 --- a/lib/libpthread/arch/sparc/uthread_machdep_asm.S +++ b/lib/libpthread/arch/sparc/uthread_machdep_asm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_machdep_asm.S,v 1.8 2003/02/14 20:23:20 jason Exp $ */ +/* $OpenBSD: uthread_machdep_asm.S,v 1.9 2004/02/02 20:43:37 brad Exp $ */ /* David Leonard <d@csee.uq.edu.au>. Public domain. */ #include <machine/asm.h> @@ -9,12 +9,6 @@ * On sparc this also means we switch register windows. */ -#ifdef __sparcv9__ -#define flushw .word 0x81580000 -#else -#define flushw t ST_FLUSHWIN -#endif - #define SA(x) (((x)+7)&(~0x7)) #define MINFRAME ((16+1+6)*4) @@ -28,7 +22,7 @@ ENTRY(_thread_machdep_switch) save %sp, -SA(MINFRAME), %sp /* flush all windows (except current one) into memory frames */ - flushw + t ST_FLUSHWIN /* switch the stack pointer and return address */ st %fp, [%i1 + 0] |