diff options
author | marcel <marcel@FreeBSD.org> | 2006-09-01 19:13:36 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2006-09-01 19:13:36 +0000 |
commit | 657a4c30ac3b710ebacfff32ca7d077b97858678 (patch) | |
tree | cf59fd7f13336fdccaed3f1f5508cae44d44fca2 /lib/libkse/arch | |
parent | a081b45edecb461e01b2e27d5f1fc022cdb8a28e (diff) | |
download | FreeBSD-src-657a4c30ac3b710ebacfff32ca7d077b97858678.zip FreeBSD-src-657a4c30ac3b710ebacfff32ca7d077b97858678.tar.gz |
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.
Diffstat (limited to 'lib/libkse/arch')
-rw-r--r-- | lib/libkse/arch/powerpc/include/pthread_md.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libkse/arch/powerpc/include/pthread_md.h b/lib/libkse/arch/powerpc/include/pthread_md.h index 8ff3d26..2b13e4b 100644 --- a/lib/libkse/arch/powerpc/include/pthread_md.h +++ b/lib/libkse/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; }; |