diff options
-rw-r--r-- | arch/powerpc/kernel/rtas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/rtas.c b/arch/powerpc/kernel/rtas.c index 2097f2b3cba8..f48446635c89 100644 --- a/arch/powerpc/kernel/rtas.c +++ b/arch/powerpc/kernel/rtas.c | |||
@@ -494,7 +494,7 @@ unsigned int rtas_busy_delay(int status) | |||
494 | 494 | ||
495 | might_sleep(); | 495 | might_sleep(); |
496 | ms = rtas_busy_delay_time(status); | 496 | ms = rtas_busy_delay_time(status); |
497 | if (ms) | 497 | if (ms && need_resched()) |
498 | msleep(ms); | 498 | msleep(ms); |
499 | 499 | ||
500 | return ms; | 500 | return ms; |