aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2008-03-28 17:34:47 -0400
committerPierre Ossman <drzeus@drzeus.cx>2008-04-18 14:05:27 -0400
commit6fee65cfde519ae811c3cde47c622271168ca449 (patch)
treebf3393e0724015073e934b07bcc018a286d1b004
parent2f730fec83be76f1b3b8f0066b3447f55c50d7a0 (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>
-rw-r--r--drivers/mmc/core/sdio_irq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/sdio_irq.c b/drivers/mmc/core/sdio_irq.c
index 3bd3021f5e80..c292e124107a 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)
128 } 128 }
129 } 129 }
130 130
131 set_task_state(current, TASK_INTERRUPTIBLE); 131 set_current_state(TASK_INTERRUPTIBLE);
132 if (host->caps & MMC_CAP_SDIO_IRQ) 132 if (host->caps & MMC_CAP_SDIO_IRQ)
133 host->ops->enable_sdio_irq(host, 1); 133 host->ops->enable_sdio_irq(host, 1);
134 if (!kthread_should_stop()) 134 if (!kthread_should_stop())
135 schedule_timeout(period); 135 schedule_timeout(period);
136 set_task_state(current, TASK_RUNNING); 136 set_current_state(TASK_RUNNING);
137 } while (!kthread_should_stop()); 137 } while (!kthread_should_stop());
138 138
139 if (host->caps & MMC_CAP_SDIO_IRQ) 139 if (host->caps & MMC_CAP_SDIO_IRQ)