mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.18-rt5 1/1] ARM: Use IRQF_NODELAY for XScale oprofile interrupt
@ 2006-10-09 23:01 Kevin Hilman
  2006-10-18  7:37 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Hilman @ 2006-10-09 23:01 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

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 <khilman@mvista.com>

Index: dev/arch/arm/oprofile/op_model_xscale.c
===================================================================
--- dev.orig/arch/arm/oprofile/op_model_xscale.c
+++ dev/arch/arm/oprofile/op_model_xscale.c
@@ -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) {
--

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-18  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-09 23:01 [PATCH 2.6.18-rt5 1/1] ARM: Use IRQF_NODELAY for XScale oprofile interrupt Kevin Hilman
2006-10-18  7:37 ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®