git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e766e3
)
x86/oprofile: Use per_cpu() instead of __get_cpu_var()
author
Robert Richter
<robert.richter@amd.com>
Thu, 9 Jul 2009 14:29:34 +0000
(16:29 +0200)
committer
Robert Richter
<robert.richter@amd.com>
Mon, 20 Jul 2009 14:43:18 +0000
(16:43 +0200)
__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>
No differences found