summaryrefslogtreecommitdiffstats
path: root/sys/dev/sdmmc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2008-11-01 09:24:35 +0000
committertedu <tedu@openbsd.org>2008-11-01 09:24:35 +0000
commit7194a75b90eaeef939adbb2ac47327555a2c43ad (patch)
tree4c8de0b1113261de842b244a63362b6a97d61ffa /sys/dev/sdmmc
parent- since mdocdate fills in the date automatically, we no longer have to check (diff)
downloadwireguard-openbsd-7194a75b90eaeef939adbb2ac47327555a2c43ad.tar.xz
wireguard-openbsd-7194a75b90eaeef939adbb2ac47327555a2c43ad.zip
new workq_create interface. discovered by Vladimir Kirillov
Diffstat (limited to 'sys/dev/sdmmc')
-rw-r--r--sys/dev/sdmmc/sbt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sbt.c b/sys/dev/sdmmc/sbt.c
index 7c80ce8c3f4..0acd4b716cc 100644
--- a/sys/dev/sdmmc/sbt.c
+++ b/sys/dev/sdmmc/sbt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbt.c,v 1.11 2008/02/25 12:20:25 uwe Exp $ */
+/* $OpenBSD: sbt.c,v 1.12 2008/11/01 09:24:35 tedu Exp $ */
/*
* Copyright (c) 2007 Uwe Stuehler <uwe@openbsd.org>
@@ -183,7 +183,7 @@ sbt_attach(struct device *parent, struct device *self, void *aux)
}
/* Create a work thread to transmit deferred packets. */
- sc->sc_workq = workq_create(DEVNAME(sc), 1);
+ sc->sc_workq = workq_create(DEVNAME(sc), 1, IPL_SDMMC);
if (sc->sc_workq == NULL) {
printf("%s: can't allocate workq\n", DEVNAME(sc));
return;