]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: Don't discard upper 32bits of HWCR on K8
authorAndi Kleen <ak@suse.de>
Mon, 10 Oct 2005 23:28:33 +0000 (01:28 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 10 Oct 2005 23:34:09 +0000 (16:34 -0700)
commitad28d1546cfd6b5a5de5dc063c02b24d092ab2f2
treebecef856504063805545afbed00247e384309e06
parent1cd9ca023f97de61c2767b359748b2c88a60be28
[PATCH] i386: Don't discard upper 32bits of HWCR on K8

Need to use long long, not long when RMWing a MSR. I think
it's harmless right now, but still should be better fixed
if AMD adds any bits in the upper 32bit of HWCR.

Bug was introduced with the TLB flush filter fix for i386

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/cpu/amd.c