diff options
Diffstat (limited to 'arch/sparc/ap1000/aplib.c')
-rw-r--r-- | arch/sparc/ap1000/aplib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/ap1000/aplib.c b/arch/sparc/ap1000/aplib.c index 453427162..173191492 100644 --- a/arch/sparc/ap1000/aplib.c +++ b/arch/sparc/ap1000/aplib.c @@ -455,7 +455,7 @@ static inline int aplib_poll(unsigned counter) while (counter == aplib->rbuf_flag1 + aplib->rbuf_flag2) { tnet_check_completion(); - if (resched_needed()) + if (need_resched) break; if (signal_pending(current)) break; } |