diff options
author | 2012-10-07 20:39:15 +0000 | |
---|---|---|
committer | 2012-10-07 20:39:15 +0000 | |
commit | 4c969538b305b0bca5eeec2cc5341fa64083495a (patch) | |
tree | 181f03a92e2caa56d7a0a635c544bd91196e4c94 | |
parent | Implement a simple wait queue API. The idea is to allow multiple "waiters" (diff) | |
download | wireguard-openbsd-4c969538b305b0bca5eeec2cc5341fa64083495a.tar.xz wireguard-openbsd-4c969538b305b0bca5eeec2cc5341fa64083495a.zip |
Align the stack on a 64-byte boundary as required by "The 32-bit PA-RISC
Run-time Architecture Document". GCC relies on this to properly align
stack variables.
ok guenther@, beck@
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 2cc1d6ee24d..9deefc6a7e4 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.206 2012/06/21 00:56:59 guenther Exp $ */ +/* $OpenBSD: machdep.c,v 1.207 2012/10/07 20:39:15 kettenis Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -1169,7 +1169,7 @@ setregs(struct proc *p, struct exec_package *pack, u_long stack, tf->tf_arg1 = tf->tf_arg2 = 0; /* XXX dynload stuff */ /* setup terminal stack frame */ - setstack(tf, (stack + 0x1f) & ~0x1f, 0); + setstack(tf, (stack + 0x3f) & ~0x3f, 0); /* reset any of the pending FPU exceptions */ fpu_proc_flush(p); |