diff --git a/sys/arch/arm/arm/sig_machdep.c b/sys/arch/arm/arm/sig_machdep.c index 8682b42c2656..909321f79cf8 100644 --- a/sys/arch/arm/arm/sig_machdep.c +++ b/sys/arch/arm/arm/sig_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: sig_machdep.c,v 1.5 2001/03/10 20:08:55 bjh21 Exp $ */ +/* $NetBSD: sig_machdep.c,v 1.6 2001/08/06 22:32:23 bjh21 Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -45,7 +45,7 @@ #include -__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.5 2001/03/10 20:08:55 bjh21 Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.6 2001/08/06 22:32:23 bjh21 Exp $"); #include /* XXX only needed by syscallargs.h */ #include @@ -101,6 +101,7 @@ sendsig(sig_t catcher, int sig, sigset_t *mask, u_long code) else fp = (struct sigframe *)tf->tf_usr_sp; fp--; + (u_int)fp &= ~7; /* Build stack frame for signal trampoline. */ frame.sf_signum = sig;