26 lines
895 B
Diff
26 lines
895 B
Diff
Subject: arm: Mark pmu interupt IRQF_NO_THREAD
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
Date: Wed, 16 Mar 2011 14:45:31 +0100
|
|
|
|
PMU interrupt must not be threaded. Remove IRQF_DISABLED while at it
|
|
as we run all handlers with interrupts disabled anyway.
|
|
|
|
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
|
|
---
|
|
arch/arm/kernel/perf_event.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: linux-3.2/arch/arm/kernel/perf_event.c
|
|
===================================================================
|
|
--- linux-3.2.orig/arch/arm/kernel/perf_event.c
|
|
+++ linux-3.2/arch/arm/kernel/perf_event.c
|
|
@@ -432,7 +432,7 @@ armpmu_reserve_hardware(struct arm_pmu *
|
|
}
|
|
|
|
err = request_irq(irq, handle_irq,
|
|
- IRQF_DISABLED | IRQF_NOBALANCING,
|
|
+ IRQF_NOBALANCING | IRQF_NO_THREAD,
|
|
"arm-pmu", armpmu);
|
|
if (err) {
|
|
pr_err("unable to request IRQ%d for ARM PMU counters\n",
|