projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branches 'regulator/fix/axp20x', 'regulator/fix/da9063', 'regul...
[cascardo/linux.git]
/
arch
/
x86
/
events
/
amd
/
core.c
diff --git
a/arch/x86/events/amd/core.c
b/arch/x86/events/amd/core.c
index
86a9bec
..
bd3e842
100644
(file)
--- 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,