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) ...@@ -1181,8 +1181,7 @@ static void __exit envctrl_cleanup(void)
if (!found) if (!found)
break; break;
current->state = TASK_INTERRUPTIBLE; msleep(1000);
schedule_timeout(HZ);
} }
kenvctrld_task = NULL; 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