Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern mark exit_psignal() as __noclone to work around a g...



details:   https://anonhg.NetBSD.org/src/rev/740d221a4f67
branches:  trunk
changeset: 770255:740d221a4f67
user:      chs <chs%NetBSD.org@localhost>
date:      Sun Oct 09 20:30:37 2011 +0000

description:
mark exit_psignal() as __noclone to work around a gcc 4.5 bug on arm.

diffstat:

 sys/kern/kern_exit.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 4a8a40915278 -r 740d221a4f67 sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c      Sun Oct 09 20:30:19 2011 +0000
+++ b/sys/kern/kern_exit.c      Sun Oct 09 20:30:37 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_exit.c,v 1.234 2011/06/06 22:04:34 matt Exp $     */
+/*     $NetBSD: kern_exit.c,v 1.235 2011/10/09 20:30:37 chs Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.234 2011/06/06 22:04:34 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.235 2011/10/09 20:30:37 chs Exp $");
 
 #include "opt_ktrace.h"
 #include "opt_perfctrs.h"
@@ -133,7 +133,8 @@
 /*
  * Fill in the appropriate signal information, and signal the parent.
  */
-static void
+/* XXX noclone works around a gcc 4.5 bug on arm */
+static void __noclone
 exit_psignal(struct proc *p, struct proc *pp, ksiginfo_t *ksi)
 {
 



Home | Main Index | Thread Index | Old Index