diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-09-01 19:13:36 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2006-09-01 19:13:36 +0000 |
commit | 4c91d168a764f27330d2a7aec87fe47366403c54 (patch) | |
tree | cf59fd7f13336fdccaed3f1f5508cae44d44fca2 /lib/libpthread | |
parent | 5df93cb78734261e08cf3c1f7a3a615cd6e02449 (diff) |
The ucontext is 16-byte aligned, which means that struct tcb is
16-byte aligned. Consequently, struct tcb is a multiple of 16
bytes in size. We need to make sure there's no padding after
struct ppc32_tp. We do this by explicitly adding the necessary
padding in front of it.
Notes
Notes:
svn path=/head/; revision=161830
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/arch/powerpc/include/pthread_md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libpthread/arch/powerpc/include/pthread_md.h b/lib/libpthread/arch/powerpc/include/pthread_md.h index 8ff3d2674208..2b13e4bc11cd 100644 --- a/lib/libpthread/arch/powerpc/include/pthread_md.h +++ b/lib/libpthread/arch/powerpc/include/pthread_md.h @@ -70,6 +70,7 @@ struct tcb { struct pthread *tcb_thread; struct kcb *tcb_curkcb; long tcb_isfake; + long tcb_spare[3]; struct ppc32_tp tcb_tp; }; |