diff options
author | Peter Zijlstra <peterz@infradead.org> | 2016-03-25 14:52:35 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-03-29 08:45:04 (GMT) |
commit | 32b62f446827f696cc474a6d83cea93693c5ed49 (patch) | |
tree | a83670bcf7bf8190363a3a900e91fb8531236a2f /arch/powerpc/boot/ppcboot.h | |
parent | ee6825c80e870fff1a370c718ec77022ade0889b (diff) | |
download | linux-32b62f446827f696cc474a6d83cea93693c5ed49.tar.xz |
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) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: aherrmann@suse.com
Cc: Rui Huang <ray.huang@amd.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: jencce.kernel@gmail.com
Link: http://lkml.kernel.org/r/20160320124629.GY6375@twins.programming.kicks-ass.net
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/powerpc/boot/ppcboot.h')
0 files changed, 0 insertions, 0 deletions