Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Do init the astpending variable.



details:   https://anonhg.NetBSD.org/src/rev/d77a3df41484
branches:  trunk
changeset: 772842:d77a3df41484
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Jan 17 20:50:38 2012 +0000

description:
Do init the astpending variable.

diffstat:

 sys/arch/usermode/usermode/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8ba855d46cea -r d77a3df41484 sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Tue Jan 17 20:34:57 2012 +0000
+++ b/sys/arch/usermode/usermode/trap.c Tue Jan 17 20:50:38 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.58 2012/01/17 19:46:55 reinoud Exp $ */
+/* $NetBSD: trap.c,v 1.59 2012/01/17 20:50:38 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.58 2012/01/17 19:46:55 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.59 2012/01/17 20:50:38 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -62,7 +62,7 @@
 
 static stack_t sigstk;
 
-int astpending;
+int astpending = 0;
 
 void
 startlwp(void *arg)



Home | Main Index | Thread Index | Old Index