summaryrefslogtreecommitdiff
path: root/arch/x86/events/amd
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-04-28 10:35:17 +0200
committerIngo Molnar <mingo@kernel.org>2016-04-28 10:35:17 +0200
commit0b20e59cef927b030c2e626f40fc4965bacec847 (patch)
treec090a7a4e2c20065eb5825debff1a724a7775b8a /arch/x86/events/amd
parenta8944c5bf86dc6c153a71f2a386738c0d3f5ff9c (diff)
parentcf3beb7c90a8efa16a06b26634cddddc92bb819c (diff)
Merge branch 'perf/urgent' into perf/core, to resolve conflict
Conflicts: arch/x86/events/intel/pt.c Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/events/amd')
-rw-r--r--arch/x86/events/amd/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/events/amd/core.c b/arch/x86/events/amd/core.c
index 86a9bec18dab..bd3e8421b57c 100644
--- a/arch/x86/events/amd/core.c
+++ b/arch/x86/events/amd/core.c
@@ -115,7 +115,7 @@ static __initconst const u64 amd_hw_cache_event_ids
/*
* AMD Performance Monitor K7 and later.
*/
-static const u64 amd_perfmon_event_map[] =
+static const u64 amd_perfmon_event_map[PERF_COUNT_HW_MAX] =
{
[PERF_COUNT_HW_CPU_CYCLES] = 0x0076,
[PERF_COUNT_HW_INSTRUCTIONS] = 0x00c0,