aboutsummaryrefslogtreecommitdiff
path: root/arch/avr32
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-04-29 12:47:18 +0200
committerIngo Molnar <mingo@elte.hu>2009-04-29 14:51:11 +0200
commit7c90cc45f89af4dd4617f97d452740ad95b800d5 (patch)
tree51c76b2fbe59ddcde31098a83a57fef085764f92 /arch/avr32
parent6f00cada07bb5da7f751929d3173494dcc5446cc (diff)
perf_counter, x86: rework counter enable functions
There is vendor specific code in generic x86 code, and there is vendor specific code that could be generic. This patch introduces x86_pmu_enable_counter() for x86 generic code. Fixed counter code for Intel is moved to Intel only functions. In the end, checks and calls via function pointers were reduced to the necessary. Also, the internal function i/f changed. [ 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-22-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/avr32')
0 files changed, 0 insertions, 0 deletions