commit | 82a225283fb0d9438549595d9e6f3ecc42b42ad6 | [log] [tgz] |
---|---|---|
author | Robert Richter <robert.richter@amd.com> | Thu Jul 09 16:29:34 2009 +0200 |
committer | Robert Richter <robert.richter@amd.com> | Mon Jul 20 16:43:18 2009 +0200 |
tree | 930e6ae4897b4d142127ff6b627b30445d27c77f | |
parent | 5e766e3e433fa2d5d2fdfd8e2432804c91393387 [diff] |
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>