1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

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.
This commit is contained in:
Marcel Moolenaar 2006-09-01 19:13:36 +00:00
parent 5df93cb787
commit 4c91d168a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161830
2 changed files with 2 additions and 0 deletions

View File

@ -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;
};

View File

@ -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;
};