perf_counter, x86: modify initialization of struct x86_pmu
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:10 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:07 +0000 (14:51 +0200)
commit72eae04d3a3075c26d39e1e685acfc8e8c29db64
treef31780085f3cc99be6a1e0d0f06481ff8c3c51a9
parent55de0f2e57994b525324bf0d04d242d9358a2417
perf_counter, x86: modify initialization of struct x86_pmu

This patch adds an error handler and changes initialization of struct
x86_pmu. No functional changes. Needed for follow-on patches.

[ Impact: cleanup ]

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-14-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c