Module Name:    src
Committed By:   tsutsui
Date:           Wed Jan 25 17:38:09 UTC 2012

Modified Files:
        src/sys/arch/arm/arm: compat_16_machdep.c sig_machdep.c

Log Message:
STACKALIGN(fp) -> STACK_ALIGN(fp, STACK_ALIGNBYTES)
per recent param.h cleanup.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/arm/compat_16_machdep.c
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/arm/arm/sig_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/arm/compat_16_machdep.c
diff -u src/sys/arch/arm/arm/compat_16_machdep.c:1.13 src/sys/arch/arm/arm/compat_16_machdep.c:1.14
--- src/sys/arch/arm/arm/compat_16_machdep.c:1.13	Thu Jun 30 20:09:19 2011
+++ src/sys/arch/arm/arm/compat_16_machdep.c	Wed Jan 25 17:38:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: compat_16_machdep.c,v 1.13 2011/06/30 20:09:19 wiz Exp $	*/
+/*	$NetBSD: compat_16_machdep.c,v 1.14 2012/01/25 17:38:09 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -42,7 +42,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.13 2011/06/30 20:09:19 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.14 2012/01/25 17:38:09 tsutsui Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -102,7 +102,7 @@ sendsig_sigcontext(const ksiginfo_t *ksi
 	fp--;
 
 	/* make the stack aligned */
-	fp = (void *)STACKALIGN(fp);
+	fp = (void *)STACK_ALIGN(fp, STACK_ALIGNBYTES);
 
 	/* Save register context. */
 	frame.sf_sc.sc_r0     = tf->tf_r0;

Index: src/sys/arch/arm/arm/sig_machdep.c
diff -u src/sys/arch/arm/arm/sig_machdep.c:1.40 src/sys/arch/arm/arm/sig_machdep.c:1.41
--- src/sys/arch/arm/arm/sig_machdep.c:1.40	Thu Jun 30 20:09:19 2011
+++ src/sys/arch/arm/arm/sig_machdep.c	Wed Jan 25 17:38:09 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: sig_machdep.c,v 1.40 2011/06/30 20:09:19 wiz Exp $	*/
+/*	$NetBSD: sig_machdep.c,v 1.41 2012/01/25 17:38:09 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1994-1998 Mark Brinicombe.
@@ -44,7 +44,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.40 2011/06/30 20:09:19 wiz Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sig_machdep.c,v 1.41 2012/01/25 17:38:09 tsutsui Exp $");
 
 #include <sys/mount.h>		/* XXX only needed by syscallargs.h */
 #include <sys/proc.h>
@@ -108,7 +108,7 @@ sendsig_siginfo(const ksiginfo_t *ksi, c
 	fp--;
 	
 	/* make the stack aligned */
-	fp = (struct sigframe_siginfo *)STACKALIGN(fp);
+	fp = (struct sigframe_siginfo *)STACK_ALIGN(fp, STACK_ALIGNBYTES);
 
 	/* populate the siginfo frame */
 	frame.sf_si._info = ksi->ksi_info;

Reply via email to