summaryrefslogtreecommitdiff
path: root/include/linux/compiler.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2007-05-21 16:31:45 +0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-21 20:56:56 +0400
commit6c977aad03a18019015035958c65b6729cd0574c (patch)
tree9614d07dc9502bcbaf3090d971bd7bd320b0e8a5 /include/linux/compiler.h
parent4c87b948b258829f0bdffe51baa72fba5c42d359 (diff)
downloadlinux-6c977aad03a18019015035958c65b6729cd0574c.tar.xz
i386: Fix K8/core2 oprofile on multiple CPUs
Only try to allocate MSRs once instead of for every CPU. This assumes the MSRs are the same on all CPUs which is currently true. P4-HT is a special case for different SMT threads, but the code always saves/restores all MSRs so it works identical. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/compiler.h')
0 files changed, 0 insertions, 0 deletions