From: Andi Kleen Date: Mon, 21 May 2007 12:31:45 +0000 (+0200) Subject: i386: Fix K8/core2 oprofile on multiple CPUs X-Git-Tag: v2.6.22-rc3~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c977aad03a18019015035958c65b6729cd0574c;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed