diff options
Diffstat (limited to 'emulators/qemu-devel/files/extra-patch-bsd-user-arm-target_arch_thread.h')
| -rw-r--r-- | emulators/qemu-devel/files/extra-patch-bsd-user-arm-target_arch_thread.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/emulators/qemu-devel/files/extra-patch-bsd-user-arm-target_arch_thread.h b/emulators/qemu-devel/files/extra-patch-bsd-user-arm-target_arch_thread.h deleted file mode 100644 index 5876e74de3fd..000000000000 --- a/emulators/qemu-devel/files/extra-patch-bsd-user-arm-target_arch_thread.h +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/bsd-user/arm/target_arch_thread.h b/bsd-user/arm/target_arch_thread.h -index e69f612..ee4d67d 100644 ---- a/bsd-user/arm/target_arch_thread.h -+++ b/bsd-user/arm/target_arch_thread.h -@@ -29,8 +29,8 @@ static inline void target_thread_set_upcall(CPUARMState *regs, abi_ulong entry, - * Make sure the stack is properly aligned. - * arm/include/param.h (STACKLIGN() macro) - */ -- sp = ((u_int)(stack_base + stack_size) & ~(8-1)) - -- sizeof(struct target_trapframe); -+ sp = (u_int)((stack_base + stack_size) - -+ sizeof(struct target_trapframe)) & ~0x7; - - /* sp = stack base */ - regs->regs[13] = sp; |
