diff options
Diffstat (limited to 'kernel/softirq.c')
-rw-r--r-- | kernel/softirq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/softirq.c b/kernel/softirq.c index 15352e0cbd5d..671f9594e368 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c | |||
@@ -297,7 +297,7 @@ void irq_enter(void) | |||
297 | int cpu = smp_processor_id(); | 297 | int cpu = smp_processor_id(); |
298 | 298 | ||
299 | rcu_irq_enter(); | 299 | rcu_irq_enter(); |
300 | if (idle_cpu(cpu) && !in_interrupt()) { | 300 | if (is_idle_task(current) && !in_interrupt()) { |
301 | /* | 301 | /* |
302 | * Prevent raise_softirq from needlessly waking up ksoftirqd | 302 | * Prevent raise_softirq from needlessly waking up ksoftirqd |
303 | * here, as softirq will be serviced on return from interrupt. | 303 | * here, as softirq will be serviced on return from interrupt. |