
From: janitor@sternwelten.at

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/drivers/message/i2o/i2o_core.c |    3 +--
 1 files changed, 1 insertion(+), 2 deletions(-)

diff -puN drivers/message/i2o/i2o_core.c~message-i2o_core-replace-schedule_timeout-with-msleep drivers/message/i2o/i2o_core.c
--- 25/drivers/message/i2o/i2o_core.c~message-i2o_core-replace-schedule_timeout-with-msleep	2004-09-02 15:36:53.730968712 -0700
+++ 25-akpm/drivers/message/i2o/i2o_core.c	2004-09-02 15:36:53.736967800 -0700
@@ -892,8 +892,7 @@ int i2o_release_device(struct i2o_device
 		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
 		{
_
