diff options
| author | Peter Zijlstra <[email protected]> | 2016-03-25 14:52:35 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2016-03-29 08:45:04 +0000 |
| commit | 32b62f446827f696cc474a6d83cea93693c5ed49 (patch) | |
| tree | a83670bcf7bf8190363a3a900e91fb8531236a2f /lib/string_helpers.c | |
| parent | x86/topology: Fix AMD core count (diff) | |
| download | kernel-32b62f446827f696cc474a6d83cea93693c5ed49.tar.gz kernel-32b62f446827f696cc474a6d83cea93693c5ed49.zip | |
perf/x86/amd: Cleanup Fam10h NB event constraints
Avoid allocating the AMD NB event constraints data structure when not
needed. This gets rid of x86_max_cores usage and avoids allocating
this on AMD Core Perfctr supporting hardware (which has separate MSRs
for NB events).
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: [email protected]
Cc: Rui Huang <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
