diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-13 21:24:53 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-06-13 21:24:53 +0000 |
commit | 92e723028abf599414443c211d9cc3dbe3a6f853 (patch) | |
tree | 56ffb653ed1d504a9e468b173c3fbaf664261f9b | |
parent | 02d9e9d8f09eac64dc4bc8591e629ccfc9eece97 (diff) |
Actually, because of multi-interrupts devices, use the opposite loop
direction. My bad, doh !
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 4 |
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); } |