Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/qbus Protect the call to uba_done() with spluba().
details: https://anonhg.NetBSD.org/src/rev/86006250953c
branches: trunk
changeset: 508526:86006250953c
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Apr 12 20:07:40 2001 +0000
description:
Protect the call to uba_done() with spluba().
diffstat:
sys/dev/qbus/uda.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r f04fa634169c -r 86006250953c sys/dev/qbus/uda.c
--- a/sys/dev/qbus/uda.c Thu Apr 12 20:05:12 2001 +0000
+++ b/sys/dev/qbus/uda.c Thu Apr 12 20:07:40 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uda.c,v 1.38 2000/06/10 19:44:55 ragge Exp $ */
+/* $NetBSD: uda.c,v 1.39 2001/04/12 20:07:40 thorpej Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* Copyright (c) 1988 Regents of the University of California.
@@ -481,6 +481,9 @@
struct device *usc;
{
struct uda_softc *sc = (void *)usc;
+ int s;
+ s = spluba();
uba_done((struct uba_softc *)sc->sc_dev.dv_parent);
+ splx(s);
}
Home |
Main Index |
Thread Index |
Old Index