diff options
author | 2008-11-01 09:24:35 +0000 | |
---|---|---|
committer | 2008-11-01 09:24:35 +0000 | |
commit | 7194a75b90eaeef939adbb2ac47327555a2c43ad (patch) | |
tree | 4c8de0b1113261de842b244a63362b6a97d61ffa /sys/dev/sdmmc | |
parent | - since mdocdate fills in the date automatically, we no longer have to check (diff) | |
download | wireguard-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.c | 4 |
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; |