perf_counter, x86: make pmu version generic
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:13 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:08 +0000 (14:51 +0200)
commitfaa28ae018ed004a22aa4a7704e04ccdde4a941e
tree0cfe5d6a13fcc52acc65913304431986cef7dcfd
parent0933e5c6a680ba8d8d786a6f7fa377b7ec0d1e49
perf_counter, x86: make pmu version generic

This makes the use of the version variable generic. Also, some debug
messages have been generalized.

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