diff options
author | Peter Zijlstra <peterz@infradead.org> | 2013-05-21 13:05:37 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2013-05-28 09:13:55 +0200 |
commit | 1b45adcd9a503428e6de6b39bc6892d86c9c1d41 (patch) | |
tree | 07bed004c5f63ca1a4097ae91c3a2bc3d11ad19c /kernel/sysctl.c | |
parent | 2b923c8f5de6722393e614b096d5040b6d4eaf98 (diff) |
perf/x86/amd: Rework AMD PMU init code
Josh reported that his QEMU is a bad hardware emulator and trips a
WARN in the AMD PMU init code. He requested the WARN be turned into a
pr_err() or similar.
While there, rework the code a little.
Reported-by: Josh Boyer <jwboyer@redhat.com>
Acked-by: Robert Richter <rric@kernel.org>
Acked-by: Jacob Shin <jacob.shin@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20130521110537.GG26912@twins.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions