aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ecb.c
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2011-02-02 11:40:56 -0500
committerIngo Molnar <mingo@elte.hu>2011-02-16 07:30:49 -0500
commitd45dd923fcc620c948bd1eda16cc61426ac31646 (patch)
treeb80b08355f79553e0c3b201e0d99d69a7ef24345 /crypto/ecb.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 'crypto/ecb.c')
0 files changed, 0 insertions, 0 deletions