Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mca adjust for recent deferred changes.



details:   https://anonhg.NetBSD.org/src/rev/b46f9b358e08
branches:  trunk
changeset: 790460:b46f9b358e08
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 12 21:11:42 2013 +0000

description:
adjust for recent deferred changes.

diffstat:

 sys/dev/mca/edc_mca.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 0b4c2875edfd -r b46f9b358e08 sys/dev/mca/edc_mca.c
--- a/sys/dev/mca/edc_mca.c     Sat Oct 12 18:55:40 2013 +0000
+++ b/sys/dev/mca/edc_mca.c     Sat Oct 12 21:11:42 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: edc_mca.c,v 1.47 2012/10/27 17:18:26 chs Exp $ */
+/*     $NetBSD: edc_mca.c,v 1.48 2013/10/12 21:11:42 christos Exp $    */
 
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.47 2012/10/27 17:18:26 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: edc_mca.c,v 1.48 2013/10/12 21:11:42 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -329,7 +329,7 @@
        /*
         * Run the worker thread.
         */
-       config_pending_incr();
+       config_pending_incr(self);
        if ((error = kthread_create(PRI_NONE, 0, NULL, edcworker, sc, NULL,
            "%s", device_xname(sc->sc_dev)))) {
                aprint_error_dev(sc->sc_dev, "cannot spawn worker thread: errno=%d\n", error);
@@ -802,7 +802,7 @@
        struct buf *bp;
        int i, error;
 
-       config_pending_decr();
+       config_pending_decr(sc->sc_dev);
 
        for(;;) {
                /* Wait until awakened */



Home | Main Index | Thread Index | Old Index