arm64: Mark PMU interrupt IRQF_NO_THREAD
authorAnders Roxell <anders.roxell@linaro.org>
Mon, 27 Apr 2015 20:53:08 +0000 (22:53 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 19 May 2015 14:27:42 +0000 (15:27 +0100)
Mark the PMU interrupts as non-threadable, as is the case with
arch/arm: d9c3365 ARM: 7813/1: Mark pmu interupt IRQF_NO_THREAD

Acked-by: Will Deacon <will.deacon@arm.com>
Suggested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/perf_event.c

index cce18c85d2e8edc6edcf23d13ef13e99f6cbf835..702591f6180a8d50704648977ff48e4f6811880d 100644 (file)
@@ -488,7 +488,7 @@ armpmu_reserve_hardware(struct arm_pmu *armpmu)
                        }
 
                        err = request_irq(irq, armpmu->handle_irq,
-                                       IRQF_NOBALANCING,
+                                       IRQF_NOBALANCING | IRQF_NO_THREAD,
                                        "arm-pmu", armpmu);
                        if (err) {
                                pr_err("unable to request IRQ%d for ARM PMU counters\n",