kernel_optimize_test/arch/x86/kernel/cpu
Robert Richter 984763cb90 perf, x86: Report error code that returned from x86_pmu.hw_config()
If x86_pmu.hw_config() fails a fixed error code (-EOPNOTSUPP) is
returned even if a different error was reported. This patch fixes
this.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Lin Ming <ming.m.lin@intel.com>
Cc: acme@redhat.com
Cc: eranian@google.com
Cc: gorcunov@openvz.org
Cc: peterz@infradead.org
Cc: fweisbec@gmail.com
LKML-Reference: <20100316160733.GR1585@erda.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2010-03-17 10:43:50 +01:00
..
cpufreq Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq 2010-03-07 12:52:38 -08:00
mcheck sysfs: Use sysfs_attr_init and sysfs_bin_attr_init on dynamic attributes 2010-03-07 17:04:51 -08:00
mtrr x86: fix mtrr missing kernel-doc 2010-03-05 11:46:03 -08:00
.gitignore
addon_cpuid_features.c
amd.c
bugs_64.c
bugs.c
centaur.c
cmpxchg.c
common.c
cpu.h
cyrix.c
hypervisor.c
intel_cacheinfo.c Driver core: Constify struct sysfs_ops in struct kobj_type 2010-03-07 17:04:49 -08:00
intel.c
Makefile
mkcapflags.pl
perf_event_amd.c perf, x86: Implement initial P4 PMU driver 2010-03-11 18:51:08 +01:00
perf_event_intel_ds.c perf, x86: Fix the !CONFIG_CPU_SUP_INTEL build 2010-03-10 13:40:44 +01:00
perf_event_intel_lbr.c perf, x86: Fix LBR read-out 2010-03-10 13:23:39 +01:00
perf_event_intel.c perf, x86: Implement initial P4 PMU driver 2010-03-11 18:51:08 +01:00
perf_event_p4.c perf, x86: Enable not tagged retired instruction counting on P4s 2010-03-15 08:14:34 +01:00
perf_event_p6.c perf, x86: Implement initial P4 PMU driver 2010-03-11 18:51:08 +01:00
perf_event.c perf, x86: Report error code that returned from x86_pmu.hw_config() 2010-03-17 10:43:50 +01:00
perfctr-watchdog.c
powerflags.c
proc.c
sched.c
transmeta.c
umc.c
vmware.c