ARM: Use IRQF_NODELAY for XScale oprofile interrupt
PATCH 1/1 ARM: Use IRQF_NODELAY for XScale oprofile interrupt
Convert XScale performance monitor unit (PMU) interrupt used by oprofile to IRQF_NODELAY. PMU results not useful if ISR is run as thread.
Signed-off-by Kevin Hilman <[email protected]>
arch/arm/oprofile/op_model_xscale.c +2 -1
@@ -383,8 +383,9 @@ static int xscale_pmu_start(void) {int ret;u32 pmnc =read_pmnc (); +int irq_flags =IRQF_DISABLED |IRQF_NODELAY ; - ret =request_irq (XSCALE_PMU_IRQ , xscale_pmu_interrupt,IRQF_DISABLED , + ret =request_irq (XSCALE_PMU_IRQ , xscale_pmu_interrupt, irq_flags,"XScale PMU" , (void *)results);if (ret <0 ) {
--
Ingo Molnar
AppliedQuoted 3 lines · Kevin Hilman
Convert XScale performance monitor unit (PMU) interrupt used by oprofile to
IRQF_NODELAY. PMU results not useful if ISR is run as thread.
thanks, applied.
Ingo