]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mmc: use shorter, equivalent set_current_state()
authorRobert P. J. Day <rpjday@crashcourse.ca>
Fri, 28 Mar 2008 21:34:47 +0000 (14:34 -0700)
committerPierre Ossman <drzeus@drzeus.cx>
Fri, 18 Apr 2008 18:05:27 +0000 (20:05 +0200)
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>
drivers/mmc/core/sdio_irq.c

index 3bd3021f5e808866d7e45bebb78de5535e84d67b..c292e124107ac13ec36be751024ad3728cafaa40 100644 (file)
@@ -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)