diff options
author | 2013-05-21 13:05:37 +0200 | |
---|---|---|
committer | 2013-05-28 09:13:55 +0200 | |
commit | 1b45adcd9a503428e6de6b39bc6892d86c9c1d41 (patch) | |
tree | 07bed004c5f63ca1a4097ae91c3a2bc3d11ad19c /kernel/sysctl.c | |
parent | perf/x86: Check branch sampling priv level in generic code (diff) | |
download | linux-1b45adcd9a503428e6de6b39bc6892d86c9c1d41.tar.gz linux-1b45adcd9a503428e6de6b39bc6892d86c9c1d41.tar.bz2 linux-1b45adcd9a503428e6de6b39bc6892d86c9c1d41.zip |
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