Module Name: src
Committed By: chs
Date: Sun Oct 9 20:30:38 UTC 2011
Modified Files:
src/sys/kern: kern_exit.c
Log Message:
mark exit_psignal() as __noclone to work around a gcc 4.5 bug on arm.
To generate a diff of this commit:
cvs rdiff -u -r1.234 -r1.235 src/sys/kern/kern_exit.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/kern/kern_exit.c
diff -u src/sys/kern/kern_exit.c:1.234 src/sys/kern/kern_exit.c:1.235
--- src/sys/kern/kern_exit.c:1.234 Mon Jun 6 22:04:34 2011
+++ src/sys/kern/kern_exit.c Sun Oct 9 20:30:37 2011
@@ -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 @@ SDT_PROBE_DEFINE(proc,,,exit,
/*
* 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)
{