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
Merge ../bleed-2.6
[pandora-kernel.git]
/
drivers
/
char
/
hw_random.c
diff --git
a/drivers/char/hw_random.c
b/drivers/char/hw_random.c
index
3480535
..
6f673d2
100644
(file)
--- a/
drivers/char/hw_random.c
+++ b/
drivers/char/hw_random.c
@@
-513,10
+513,7
@@
static ssize_t rng_dev_read (struct file *filp, char __user *buf, size_t size,
return ret ? : -EAGAIN;
if(need_resched())
- {
- current->state = TASK_INTERRUPTIBLE;
- schedule_timeout(1);
- }
+ schedule_timeout_interruptible(1);
else
udelay(200); /* FIXME: We could poll for 250uS ?? */