]> git.baikalelectronics.ru Git - kernel.git/commit
i386: Make CMPXCHG64 only dependent on PAE
authorAndi Kleen <ak@suse.de>
Sat, 23 Jun 2007 00:29:23 +0000 (02:29 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 23 Jun 2007 01:41:18 +0000 (18:41 -0700)
commit742085226a1397ee718a4568a92bc1c25571e068
tree1bab60b6457812b10dd62f8bbddb7985b53d5495
parent8a8d9d65688ae793e37cf694ced5f025981f5c10
i386: Make CMPXCHG64 only dependent on PAE

It is only used for PAE kernels in set_64bit.

The problem is that due to a old Windows bug many CPUs need magic MSRs
to enable CMPXCHG64, and we can't do that nicely early enough before
it is potentially used.

But since we only need it in PAE kernels so only force the checking
for CMPXCHG65 with PAE.

This fixes a boot failure on Transmeta Crusoe

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/i386/Kconfig
arch/i386/Kconfig.cpu