Message ID | 20220207082759.180431-2-laurent@vivier.eu |
---|---|
State | Accepted |
Commit | b1b2138753be4a0c9dc50975b080f8e7743b78a9 |
Headers | show |
Series | [PULL,1/8] linux-user: Remove unnecessary 'aligned' attribute from TaskState | expand |
diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 7910ce59cc8c..9d2b3119d1fe 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -94,10 +94,6 @@ struct emulated_sigtable { target_siginfo_t info; }; -/* - * NOTE: we force a big alignment so that the stack stored after is - * aligned too - */ typedef struct TaskState { pid_t ts_tid; /* tid (or pid) of this task */ #ifdef TARGET_ARM @@ -158,7 +154,7 @@ typedef struct TaskState { /* This thread's sigaltstack, if it has one */ struct target_sigaltstack sigaltstack_used; -} __attribute__((aligned(16))) TaskState; +} TaskState; abi_long do_brk(abi_ulong new_brk);