From: Pierre Ossman Date: Sun, 31 Aug 2008 11:42:00 +0000 (+0200) Subject: sdio: give sdio irq thread a host specific name X-Git-Tag: v2.6.28-rc1~701^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6501ff604a5ae18697c9b4cd40a7738d3a68e7fe;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 722924cdf59..bb192f90e8e 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--;