Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Robert P. J. Day and committed by
Pierre Ossman
6fee65cf 2f730fec

+2 -2
+2 -2
drivers/mmc/core/sdio_irq.c
··· 128 128 } 129 129 } 130 130 131 - set_task_state(current, TASK_INTERRUPTIBLE); 131 + set_current_state(TASK_INTERRUPTIBLE); 132 132 if (host->caps & MMC_CAP_SDIO_IRQ) 133 133 host->ops->enable_sdio_irq(host, 1); 134 134 if (!kthread_should_stop()) 135 135 schedule_timeout(period); 136 - set_task_state(current, TASK_RUNNING); 136 + set_current_state(TASK_RUNNING); 137 137 } while (!kthread_should_stop()); 138 138 139 139 if (host->caps & MMC_CAP_SDIO_IRQ)