git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] drivers/block: fix-up schedule_timeout() usage
[pandora-kernel.git]
/
drivers
/
block
/
paride
/
pf.c
diff --git
a/drivers/block/paride/pf.c
b/drivers/block/paride/pf.c
index
060b1f2
..
711d2f3
100644
(file)
--- a/
drivers/block/paride/pf.c
+++ b/
drivers/block/paride/pf.c
@@
-507,8
+507,7
@@
static void pf_eject(struct pf_unit *pf)
static void pf_sleep(int cs)
{
- current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(cs);
+ schedule_timeout_interruptible(cs);
}
/* the ATAPI standard actually specifies the contents of all 7 registers