lkml.org 
[lkml]   [2009]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] powerpc/perf_counter: POWER7 has alternate PR/HV bits

POWER7 has the same PR/HV bit layout as POWER6, so set the flag.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c
===================================================================
--- linux-2.6-tip.orig/arch/powerpc/kernel/power7-pmu.c 2009-07-01 12:41:49.000000000 +1000
+++ linux-2.6-tip/arch/powerpc/kernel/power7-pmu.c 2009-07-01 12:42:09.000000000 +1000
@@ -358,6 +358,7 @@
.get_constraint = power7_get_constraint,
.get_alternatives = power7_get_alternatives,
.disable_pmc = power7_disable_pmc,
+ .flags = PPMU_ALT_SIPR,
.n_generic = ARRAY_SIZE(power7_generic_events),
.generic_events = power7_generic_events,
.cache_events = &power7_cache_events,

\
 
 \ /
  Last update: 2009-07-01 05:13    [W:0.048 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site