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
..
2009-07-19 18:27:51 +02:00
2009-10-29 22:34:14 +09:00
2010-02-17 18:28:05 +01:00
2010-02-07 17:47:51 +01:00
2010-01-05 09:17:33 +09:00
2009-09-24 09:34:52 +09:30
2010-02-24 11:01:33 -08:00
2009-12-16 07:20:18 -08:00
2009-11-17 07:53:21 +01:00
2009-07-14 16:25:05 +02:00
2009-09-15 15:08:40 -04:00
2009-12-09 16:28:59 -08:00
2009-07-19 18:27:51 +02:00
2009-12-11 06:44:29 -05:00
2009-12-11 06:44:29 -05:00
2009-12-11 06:44:29 -05:00
2010-02-16 18:21:32 +01:00