diff options
author | David Leonard <d@cvs.openbsd.org> | 1999-11-25 07:01:48 +0000 |
---|---|---|
committer | David Leonard <d@cvs.openbsd.org> | 1999-11-25 07:01:48 +0000 |
commit | 0fe78c3128864d128b2b10153b8d533ff8c00375 (patch) | |
tree | 5229c3d97eed15f4d71927a5f454180aef2632f6 /lib/libc_r/arch/alpha/uthread_machdep.h | |
parent | ed00fa742a6455d22e3b56cf846dc5acd7a51fd7 (diff) |
sync with FreeBSD
Diffstat (limited to 'lib/libc_r/arch/alpha/uthread_machdep.h')
-rw-r--r-- | lib/libc_r/arch/alpha/uthread_machdep.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc_r/arch/alpha/uthread_machdep.h b/lib/libc_r/arch/alpha/uthread_machdep.h index 7ee0653367d..9a7c52da977 100644 --- a/lib/libc_r/arch/alpha/uthread_machdep.h +++ b/lib/libc_r/arch/alpha/uthread_machdep.h @@ -1,7 +1,7 @@ /* * OpenBSD/alpha machine-dependent thread macros * - * $OpenBSD: uthread_machdep.h,v 1.4 1999/02/04 23:37:39 niklas Exp $ + * $OpenBSD: uthread_machdep.h,v 1.5 1999/11/25 07:01:27 d Exp $ */ /* save the floating point state of a thread */ @@ -50,11 +50,11 @@ do { \ { \ /* entry */ \ (thr)->saved_jmp_buf[2] = (long) entry; \ - (thr)->saved_jmp_buf[4+R_RA] = 0; \ - (thr)->saved_jmp_buf[4+R_T12] = (long) entry; \ + (thr)->saved_jmp_buf[4 + R_RA] = 0; \ + (thr)->saved_jmp_buf[4 + R_T12] = (long) entry; \ /* stack */ \ - (thr)->saved_jmp_buf[4 + R_SP] = (long) (thr)->stack \ - + (pattr)->stacksize_attr \ + (thr)->saved_jmp_buf[4 + R_SP] = (long) (thr)->stack->base \ + + (thr)->stack->size \ - sizeof(double); \ } |