perf_counter, x86: move counter parameters to struct x86_pmu
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:12 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:08 +0000 (14:51 +0200)
commit0933e5c6a680ba8d8d786a6f7fa377b7ec0d1e49
treea1ffa932852280eccae396e885d6c5cfdc2a20b5
parent4a06bd8508f65ad1dd5cd2046b85694813fa36a2
perf_counter, x86: move counter parameters to struct x86_pmu

[ Impact: refactor and generalize code ]

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-16-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/perf_counter.c