diff --git a/drivers/base/devtmpfs.c b/drivers/base/devtmpfs.c index a4760e095ff51b36a58871cdf9329bf4573f6c1d..2bb4bff3af7d33f73424242d59f68972d5bf2b45 100644 --- a/drivers/base/devtmpfs.c +++ b/drivers/base/devtmpfs.c @@ -413,10 +413,9 @@ static int devtmpfsd(void *p) } spin_lock(&req_lock); } - set_current_state(TASK_INTERRUPTIBLE); + __set_current_state(TASK_INTERRUPTIBLE); spin_unlock(&req_lock); schedule(); - __set_current_state(TASK_RUNNING); } return 0; out: