]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
i386: Fix K8/core2 oprofile on multiple CPUs
authorAndi Kleen <ak@suse.de>
Mon, 21 May 2007 12:31:45 +0000 (14:31 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 21 May 2007 16:56:56 +0000 (09:56 -0700)
commit6c977aad03a18019015035958c65b6729cd0574c
tree9614d07dc9502bcbaf3090d971bd7bd320b0e8a5
parent4c87b948b258829f0bdffe51baa72fba5c42d359
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>
arch/i386/oprofile/nmi_int.c