aboutsummaryrefslogtreecommitdiff
path: root/lib/libc_r/uthread/pthread_private.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-10-17 06:31:40 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-10-17 06:31:40 +0000
commit100063a74b7b5471c91d1c99dd197b84b9b6d67b (patch)
tree70319ade2341dab43314d4396eeafc834202fda0 /lib/libc_r/uthread/pthread_private.h
parentc5cdd6f29e36667779b11ec2d389d37808c85792 (diff)
downloadsrc-100063a74b7b5471c91d1c99dd197b84b9b6d67b.tar.gz
src-100063a74b7b5471c91d1c99dd197b84b9b6d67b.zip
Try and get libc_r to compile again on the alpha after deischen's commit
Notes
Notes: svn path=/head/; revision=67243
Diffstat (limited to 'lib/libc_r/uthread/pthread_private.h')
-rw-r--r--lib/libc_r/uthread/pthread_private.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc_r/uthread/pthread_private.h b/lib/libc_r/uthread/pthread_private.h
index 50e33bc181cb..50765101bad0 100644
--- a/lib/libc_r/uthread/pthread_private.h
+++ b/lib/libc_r/uthread/pthread_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)