Commit 8143d3dc authored by Maximilian Attems's avatar Maximilian Attems Committed by Linus Torvalds

[PATCH] message/i2o_core: replace schedule_timeout() with msleep()

Signed-off-by: default avatarNishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: default avatarMaximilian Attems <janitor@sternwelten.at>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 70d6330c
......@@ -892,8 +892,7 @@ int i2o_release_device(struct i2o_device *d, struct i2o_handler *h)
if((err=i2o_issue_claim(I2O_CMD_UTIL_RELEASE, d->controller, d->lct_data.tid, I2O_CLAIM_PRIMARY)) )
{
err = -ENXIO;
current->state = TASK_UNINTERRUPTIBLE;
schedule_timeout(HZ);
msleep(1000);
}
else
{
......
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