summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2008-08-31 13:42:00 +0200
committerPierre Ossman <drzeus@drzeus.cx>2008-10-12 11:04:30 +0200
commit6501ff604a5ae18697c9b4cd40a7738d3a68e7fe (patch)
tree122a4ebce66397e265d4cbcebb4869a8f3add25b /drivers/mmc
parente633b7bcec8e26991d489a11615acf7674efbaf4 (diff)
downloadlinux-6501ff604a5ae18697c9b4cd40a7738d3a68e7fe.tar.gz
linux-6501ff604a5ae18697c9b4cd40a7738d3a68e7fe.tar.bz2
linux-6501ff604a5ae18697c9b4cd40a7738d3a68e7fe.zip
sdio: give sdio irq thread a host specific name
There is one thread per host controller so make sure they all get unique names. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/core/sdio_irq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
index 722924cdf595..bb192f90e8e9 100644
--- a/drivers/mmc/core/sdio_irq.c
+++ b/drivers/mmc/core/sdio_irq.c
@@ -159,7 +159,8 @@ static int sdio_card_irq_get(struct mmc_card *card)
if (!host->sdio_irqs++) {
atomic_set(&host->sdio_irq_thread_abort, 0);
host->sdio_irq_thread =
- kthread_run(sdio_irq_thread, host, "ksdiorqd");
+ kthread_run(sdio_irq_thread, host, "ksdioirqd/%s",
+ mmc_hostname(host));
if (IS_ERR(host->sdio_irq_thread)) {
int err = PTR_ERR(host->sdio_irq_thread);
host->sdio_irqs--;