diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2008-11-01 09:24:36 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2008-11-01 09:24:36 +0000 |
commit | f3b0c45d2e8aea7a06c8ae598397aece6d474145 (patch) | |
tree | c391ed60da567803ea5e219d1dff351ae1da08e3 | |
parent | 31e7e4d53f9fd4f8f538aa4ab8ea2096ecb935a7 (diff) |
new workq_create interface. discovered by Vladimir Kirillov
-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; |