summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2009-07-09 16:29:34 +0200
committerRobert Richter <robert.richter@amd.com>2009-07-20 16:43:18 +0200
commit82a225283fb0d9438549595d9e6f3ecc42b42ad6 (patch)
tree930e6ae4897b4d142127ff6b627b30445d27c77f /arch/s390
parentx86/oprofile: Fix usage of NUM_CONTROLS/NUM_COUNTERS macros (diff)
downloadlinux-82a225283fb0d9438549595d9e6f3ecc42b42ad6.tar.xz
linux-82a225283fb0d9438549595d9e6f3ecc42b42ad6.zip
x86/oprofile: Use per_cpu() instead of __get_cpu_var()
__get_cpu_var() calls smp_processor_id(). When the cpu id is already known, instead use per_cpu() to avoid generating the id again. Signed-off-by: Robert Richter <robert.richter@amd.com>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions