projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
powerpc/rtas: Only sleep in rtas_busy_delay if we have useful work to do
[deliverable/linux.git]
/
arch
/
powerpc
/
kernel
/
rtas.c
diff --git
a/arch/powerpc/kernel/rtas.c
b/arch/powerpc/kernel/rtas.c
index 2097f2b3cba8df3e3ab6b582d19767b935da8157..f48446635c8945290e1c44db800250039ca999a3 100644
(file)
--- a/
arch/powerpc/kernel/rtas.c
+++ b/
arch/powerpc/kernel/rtas.c
@@
-494,7
+494,7
@@
unsigned int rtas_busy_delay(int status)
might_sleep();
ms = rtas_busy_delay_time(status);
- if (ms)
+ if (ms
&& need_resched()
)
msleep(ms);
return ms;
This page took
0.025618 seconds
and
5
git commands to generate.