ARM: 7813/1: Mark pmu interupt IRQF_NO_THREAD
authorThomas Gleixner <tglx@linutronix.de>
Wed, 14 Aug 2013 10:07:47 +0000 (11:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 19 Aug 2013 23:12:23 +0000 (00:12 +0100)
PMU interrupts must not be threaded.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/perf_event_cpu.c

index aebe0e99c153eaa6889efc7b36459ebdfaeb65cc..8d6147b2001f82eca02c738265f9477dc2dbaefa 100644 (file)
@@ -118,7 +118,8 @@ static int cpu_pmu_request_irq(struct arm_pmu *cpu_pmu, irq_handler_t handler)
                        continue;
                }
 
-               err = request_irq(irq, handler, IRQF_NOBALANCING, "arm-pmu",
+               err = request_irq(irq, handler,
+                                 IRQF_NOBALANCING | IRQF_NO_THREAD, "arm-pmu",
                                  cpu_pmu);
                if (err) {
                        pr_err("unable to request IRQ%d for ARM PMU counters\n",