Commit 289d390e authored by Nishanth Aravamudan's avatar Nishanth Aravamudan Committed by David S. Miller

[SPARC]: envctrl: Replace schedule_timeout() with msleep().

Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@redhat.com>
parent 155c26fd
......@@ -1181,8 +1181,7 @@ static void __exit envctrl_cleanup(void)
if (!found)
break;
current->state = TASK_INTERRUPTIBLE;
schedule_timeout(HZ);
msleep(1000);
}
kenvctrld_task = NULL;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment