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 2006-09-01 19:13:36 +00:00
parent a081b45ede
commit 657a4c30ac
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;
};