diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2005-12-22 00:37:26 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2005-12-22 00:37:26 +0000 |
commit | 41f76162ff30fc934d9b02feb125f05a1560b3f4 (patch) | |
tree | b2487ad2dd66cfb4f206ca094f6a09cb02df4d14 /lib/librthread/rthread.c | |
parent | 83e733a3a0eb4a6d5fc3f5bc99ecd4519f1dd6db (diff) |
Bad commit, breaks hppa64. Prompted by deraadt@
Diffstat (limited to 'lib/librthread/rthread.c')
-rw-r--r-- | lib/librthread/rthread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/librthread/rthread.c b/lib/librthread/rthread.c index ad51a7db1ea..dd2df20b82b 100644 --- a/lib/librthread/rthread.c +++ b/lib/librthread/rthread.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rthread.c,v 1.14 2005/12/21 23:44:56 marco Exp $ */ +/* $OpenBSD: rthread.c,v 1.15 2005/12/22 00:37:25 marco Exp $ */ /* * Copyright (c) 2004,2005 Ted Unangst <tedu@openbsd.org> * All Rights Reserved. @@ -133,8 +133,7 @@ alloc_stack(size_t len, void *base) } } #ifdef MACHINE_STACK_GROWS_UP - stack->sp = (void *)(((size_t)stack->base + MACHINE_STACK_ALIGN) & - ~(MACHINE_STACK_ALIGN - 1)); + stack->sp = (void *)(((size_t)stack->base + 64) & ~63); #else stack->sp = (void *)(((size_t)stack->base + len - 16) & ~15); #endif |