Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm26/arm26 Make sure that soft interrupts are init...
details: https://anonhg.NetBSD.org/src/rev/9a46df9621e7
branches: trunk
changeset: 514198:9a46df9621e7
user: bjh21 <bjh21%NetBSD.org@localhost>
date: Sat Aug 25 17:45:32 2001 +0000
description:
Make sure that soft interrupts are initialised in a "not pending" state.
diffstat:
sys/arch/arm26/arm26/softintr.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r deec993398c3 -r 9a46df9621e7 sys/arch/arm26/arm26/softintr.c
--- a/sys/arch/arm26/arm26/softintr.c Sat Aug 25 16:50:18 2001 +0000
+++ b/sys/arch/arm26/arm26/softintr.c Sat Aug 25 17:45:32 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softintr.c,v 1.8 2001/01/15 20:19:52 thorpej Exp $ */
+/* $NetBSD: softintr.c,v 1.9 2001/08/25 17:45:32 bjh21 Exp $ */
/*
* Copyright (c) 1999 Ben Harris.
@@ -38,7 +38,7 @@
#include <sys/param.h>
-__RCSID("$NetBSD: softintr.c,v 1.8 2001/01/15 20:19:52 thorpej Exp $");
+__RCSID("$NetBSD: softintr.c,v 1.9 2001/08/25 17:45:32 bjh21 Exp $");
#include <sys/malloc.h>
#include <sys/queue.h>
@@ -113,6 +113,7 @@
new->sh_ipl = ipl;
new->sh_func = func;
new->sh_arg = arg;
+ new->sh_pending = 0;
if (LIST_FIRST(&sh_head) == NULL ||
LIST_FIRST(&sh_head)->sh_ipl <= ipl)
/* XXX This shouldn't need to be a special case */
Home |
Main Index |
Thread Index |
Old Index