summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2001-06-13 21:24:53 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2001-06-13 21:24:53 +0000
commit92e723028abf599414443c211d9cc3dbe3a6f853 (patch)
tree56ffb653ed1d504a9e468b173c3fbaf664261f9b
parent02d9e9d8f09eac64dc4bc8591e629ccfc9eece97 (diff)
Actually, because of multi-interrupts devices, use the opposite loop
direction. My bad, doh !
-rw-r--r--sys/arch/mvme88k/mvme88k/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c
index 62d9648af10..6467102d8ea 100644
--- a/sys/arch/mvme88k/mvme88k/machdep.c
+++ b/sys/arch/mvme88k/mvme88k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.38 2001/06/12 23:09:45 miod Exp $ */
+/* $OpenBSD: machdep.c,v 1.39 2001/06/13 21:24:52 miod Exp $ */
/*
* Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr.
* Copyright (c) 1996 Nivas Madhur
@@ -1498,7 +1498,7 @@ intr_findvec(start, end)
panic("intr_findvec(): bad parameters");
#endif
- for (vec = end; vec > start; --vec){
+ for (vec = start; vec < end; vec++){
if (intr_handlers[vec] == NULL)
return (vec);
}