diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-03-28 14:34:47 -0700 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 20:05:27 +0200 |
commit | 6fee65cfde519ae811c3cde47c622271168ca449 (patch) | |
tree | bf3393e0724015073e934b07bcc018a286d1b004 /drivers | |
parent | 2f730fec83be76f1b3b8f0066b3447f55c50d7a0 (diff) |
mmc: use shorter, equivalent set_current_state()
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/core/sdio_irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c index 3bd3021f5e8..c292e124107 100644 --- a/drivers/mmc/core/sdio_irq.c +++ b/drivers/mmc/core/sdio_irq.c @@ -128,12 +128,12 @@ static int sdio_irq_thread(void *_host) } } - set_task_state(current, TASK_INTERRUPTIBLE); + set_current_state(TASK_INTERRUPTIBLE); if (host->caps & MMC_CAP_SDIO_IRQ) host->ops->enable_sdio_irq(host, 1); if (!kthread_should_stop()) schedule_timeout(period); - set_task_state(current, TASK_RUNNING); + set_current_state(TASK_RUNNING); } while (!kthread_should_stop()); if (host->caps & MMC_CAP_SDIO_IRQ) |