summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-10-17 06:31:40 +0000
committerpeter <peter@FreeBSD.org>2000-10-17 06:31:40 +0000
commit7a60214eeabca3660341f8dfbe5b75f602d30c2c (patch)
treee18d8d1fed47ff64aa58f6dec701325a50c7186d /lib/libpthread/thread
parent5c09d420a4ccd4c87414ea079cca23b4ebbb1ed8 (diff)
downloadFreeBSD-src-7a60214eeabca3660341f8dfbe5b75f602d30c2c.zip
FreeBSD-src-7a60214eeabca3660341f8dfbe5b75f602d30c2c.tar.gz
Try and get libc_r to compile again on the alpha after deischen's commit
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r--lib/libpthread/thread/thr_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_private.h b/lib/libpthread/thread/thr_private.h
index 50e33bc..5076510 100644
--- a/lib/libpthread/thread/thr_private.h
+++ b/lib/libpthread/thread/thr_private.h
@@ -87,9 +87,9 @@
#define SET_RETURN_ADDR_JB(jb, ra) (jb)[0]._jb[0] = (int)(ra)
#elif defined(__alpha__)
#include <machine/reg.h>
-#define GET_STACK_JB(jb, stk) ((unsigned long)((jb)[0]._jb[R_SP + 4]))
-#define GET_STACK_SJB(sjb, stk) ((unsigned long)((sjb)[0]._sjb[R_SP + 4]))
-#define GET_STACK_UC(ucp, stk) ((ucp)->uc_mcontext.mc_regs[R_SP])
+#define GET_STACK_JB(jb) ((unsigned long)((jb)[0]._jb[R_SP + 4]))
+#define GET_STACK_SJB(sjb) ((unsigned long)((sjb)[0]._sjb[R_SP + 4]))
+#define GET_STACK_UC(ucp) ((ucp)->uc_mcontext.mc_regs[R_SP])
#define SET_STACK_JB(jb, stk) (jb)[0]._jb[R_SP + 4] = (long)(stk)
#define SET_STACK_SJB(sjb, stk) (sjb)[0]._sjb[R_SP + 4] = (long)(stk)
#define SET_STACK_UC(ucp, stk) (ucp)->uc_mcontext.mc_regs[R_SP] = (unsigned long)(stk)
OpenPOWER on IntegriCloud