diff options
Diffstat (limited to 'lib/irq_poll.c')
-rw-r--r-- | lib/irq_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irq_poll.c b/lib/irq_poll.c index 43a3370a09fd..53d67e341ebb 100644 --- a/lib/irq_poll.c +++ b/lib/irq_poll.c | |||
@@ -122,7 +122,7 @@ static void irq_poll_softirq(struct softirq_action *h) | |||
122 | * move the instance around on the list at-will. | 122 | * move the instance around on the list at-will. |
123 | */ | 123 | */ |
124 | if (work >= weight) { | 124 | if (work >= weight) { |
125 | if (irq_poll_disable_pending(iop)) | 125 | if (test_bit(IRQ_POLL_F_DISABLE, &iop->state)) |
126 | __irq_poll_complete(iop); | 126 | __irq_poll_complete(iop); |
127 | else | 127 | else |
128 | list_move_tail(&iop->list, list); | 128 | list_move_tail(&iop->list, list); |