android_kernel_xiaomi_sm8350/arch/x86/oprofile
Robert Richter cfc9c0b450 oprofile/x86: fix msr access to reserved counters
During switching virtual counters there is access to perfctr msrs. If
the counter is not available this fails due to an invalid
address. This patch fixes this.

Cc: stable@kernel.org
Signed-off-by: Robert Richter <robert.richter@amd.com>
2010-02-26 15:28:16 +01:00
..
backtrace.c perf events, x86/stacktrace: Make stack walking optional 2009-12-17 09:56:19 +01:00
init.c
Makefile
nmi_int.c oprofile/x86: use kzalloc() instead of kmalloc() 2010-02-26 15:20:03 +01:00
nmi_timer_int.c
op_counter.h oprofile: Implement performance counter multiplexing 2009-07-20 16:33:53 +02:00
op_model_amd.c oprofile/x86: fix msr access to reserved counters 2010-02-26 15:28:16 +01:00
op_model_p4.c oprofile/x86: use kzalloc() instead of kmalloc() 2010-02-26 15:20:03 +01:00
op_model_ppro.c oprofile/x86: use kzalloc() instead of kmalloc() 2010-02-26 15:20:03 +01:00
op_x86_model.h oprofile/x86: add comment to counter-in-use warning 2010-02-26 15:14:34 +01:00