Skip to contentSkip to conversation

: Fix niagara2 perf support...

PATCH New David Miller 1 participant 1 message Oct 9, 2009

Subsystems (2)
lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 1/1 : Fix niagara2 perf support...

While testing today I discovered that the perf IRQ bits for niagara-2 were wrong, fixes as follows and committed to sparc-2.6:

sparc64: Fix niagara2 perf IRQ bits.

---
 arch/sparc/kernel/perf_event.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sparc/kernel/perf_event.c +1 -1
index 04db927..fa5936e 100644
@@ -437,7 +437,7 @@ static const struct sparc_pmu niagara2_pmu = {
 	.lower_shift	= 6,
 	.event_mask	= 0xfff,
 	.hv_bit		= 0x8,
-	.irq_bit	= 0x03,
+	.irq_bit	= 0x30,
 	.upper_nop	= 0x220,
 	.lower_nop	= 0x220,
 };
Signature · 1 line
1.6.4.4