diff options
author | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-07-02 15:46:15 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@cvs.openbsd.org> | 2013-07-02 15:46:15 +0000 |
commit | 3f214cd8d72629bace8d5e150759717cc04763f3 (patch) | |
tree | 8b5c972f47af6bbb37ba533c8799f5df58dd2315 /sys/dev/pci/viomb.c | |
parent | 6b78f9c98f6b9111b8a0c851ab890d1fae0494b2 (diff) |
change splvm to splbio, missed in r1.4
noticed by Alexey Suslikov
Diffstat (limited to 'sys/dev/pci/viomb.c')
-rw-r--r-- | sys/dev/pci/viomb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/viomb.c b/sys/dev/pci/viomb.c index 4de4e9ad7e4..27a56d78b3e 100644 --- a/sys/dev/pci/viomb.c +++ b/sys/dev/pci/viomb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viomb.c,v 1.5 2013/07/02 09:28:42 sf Exp $ */ +/* $OpenBSD: viomb.c,v 1.6 2013/07/02 15:46:14 sf Exp $ */ /* $NetBSD: viomb.c,v 1.1 2011/10/30 12:12:21 hannken Exp $ */ /* * Copyright (c) 2012 Talypov Dinar <dinar@i-nk.ru> @@ -237,7 +237,7 @@ viomb_worker(void *arg1, void *arg2) struct viomb_softc *sc = (struct viomb_softc *)arg1; int s; - s = splvm(); + s = splbio(); sc->sc_workq_queued = 0; viomb_read_config(sc); if (sc->sc_npages > sc->sc_actual){ |