summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/pci-dma.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2011-02-02 17:40:56 +0100
committerIngo Molnar <mingo@elte.hu>2011-02-16 13:30:49 +0100
commitd45dd923fcc620c948bd1eda16cc61426ac31646 (patch)
treeb80b08355f79553e0c3b201e0d99d69a7ef24345 /arch/x86/kernel/pci-dma.c
parent023695d96ee06f36cf5014e286edcd623e9fb847 (diff)
perf, x86: Use helper function in x86_pmu_enable_all()
Use helper function in x86_pmu_enable_all() to minimize access to x86_pmu.eventsel in the fast path. The counter's msr address is now calculated using struct hw_perf_event. Later we add code that calculates the msr addresses with a table lookup which shouldn't be done in the fast path. Signed-off-by: Robert Richter <robert.richter@amd.com> Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1296664860-10886-2-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/pci-dma.c')
0 files changed, 0 insertions, 0 deletions