Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mvme68k/dev Change a post-decrement to a pre-decrem...



details:   https://anonhg.NetBSD.org/src/rev/aa3fe6cbb737
branches:  trunk
changeset: 513685:aa3fe6cbb737
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Aug 07 17:25:19 2001 +0000

description:
Change a post-decrement to a pre-decrement.

diffstat:

 sys/arch/mvme68k/dev/mvmebus.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d0eab7c36ce0 -r aa3fe6cbb737 sys/arch/mvme68k/dev/mvmebus.c
--- a/sys/arch/mvme68k/dev/mvmebus.c    Tue Aug 07 16:53:06 2001 +0000
+++ b/sys/arch/mvme68k/dev/mvmebus.c    Tue Aug 07 17:25:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mvmebus.c,v 1.7 2001/05/31 18:46:08 scw Exp $  */
+/*     $NetBSD: mvmebus.c,v 1.8 2001/08/07 17:25:19 scw Exp $  */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -471,7 +471,7 @@
        }
 #endif
 
-       last = (sc->sc_irqref[level]-- == 0);
+       last = (--(sc->sc_irqref[level]) == 0);
 
        (*sc->sc_intr_disestablish)(sc->sc_chip, level, vector, last,
            &sc->sc_evcnt[level - 1]);



Home | Main Index | Thread Index | Old Index