Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/arm26/arm26 Pull up rev. 1.3:
details: https://anonhg.NetBSD.org/src/rev/bffa861d963d
branches: netbsd-1-5
changeset: 488406:bffa861d963d
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Jul 03 22:40:42 2000 +0000
description:
Pull up rev. 1.3:
Actually check which netisrs are needed rather than running them all.
(oops)
diffstat:
sys/arch/arm26/arm26/softintr.c | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r f90d6681fa06 -r bffa861d963d sys/arch/arm26/arm26/softintr.c
--- a/sys/arch/arm26/arm26/softintr.c Mon Jul 03 22:39:41 2000 +0000
+++ b/sys/arch/arm26/arm26/softintr.c Mon Jul 03 22:40:42 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softintr.c,v 1.1 2000/05/09 21:55:57 bjh21 Exp $ */
+/* $NetBSD: softintr.c,v 1.1.4.1 2000/07/03 22:40:42 thorpej Exp $ */
/*
* Copyright (c) 1999 Ben Harris.
@@ -38,7 +38,7 @@
#include <sys/param.h>
-__RCSID("$NetBSD: softintr.c,v 1.1 2000/05/09 21:55:57 bjh21 Exp $");
+__RCSID("$NetBSD: softintr.c,v 1.1.4.1 2000/07/03 22:40:42 thorpej Exp $");
#include <sys/malloc.h>
#include <sys/queue.h>
@@ -167,8 +167,10 @@
{
#define DONETISR(bit, fn) do { \
- atomic_clear_bit(&netisr, 1 << (bit)); \
- fn(); \
+ if (netisr & (1 << (bit))) { \
+ atomic_clear_bit(&netisr, 1 << (bit)); \
+ fn(); \
+ } \
} while (0)
#include <net/netisr_dispatch.h>
#undef DONETISR
Home |
Main Index |
Thread Index |
Old Index