diff options
author | Robert Richter <robert.richter@amd.com> | 2009-04-29 12:47:11 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-29 14:51:07 +0200 |
commit | 4a06bd8508f65ad1dd5cd2046b85694813fa36a2 (patch) | |
tree | 1a41073d4763cf4e7a7e80400bc5c4a453387b04 /Kbuild | |
parent | perf_counter, x86: modify initialization of struct x86_pmu (diff) | |
download | linux-4a06bd8508f65ad1dd5cd2046b85694813fa36a2.tar.xz linux-4a06bd8508f65ad1dd5cd2046b85694813fa36a2.zip |
perf_counter, x86: make x86_pmu data a static struct
Instead of using a pointer to reference to the x86 pmu we now have one
single data structure that is initialized at the beginning. This saves
the pointer access when using this memory.
[ Impact: micro-optimization ]
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-15-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions