diff options
author | Andi Kleen <ak@suse.de> | 2007-06-22 20:29:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-22 21:41:18 -0400 |
commit | 9d9bbd4d247a674deb43565582151acdc22e90d1 (patch) | |
tree | 1bab60b6457812b10dd62f8bbddb7985b53d5495 /arch/i386/Kconfig.cpu | |
parent | 3f2c6d0f4f0dafdc99af0df71edba57e7815cb13 (diff) |
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>
Diffstat (limited to 'arch/i386/Kconfig.cpu')
-rw-r--r-- | arch/i386/Kconfig.cpu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/Kconfig.cpu b/arch/i386/Kconfig.cpu index d7f6fb0b30f2..5c95ceb7f122 100644 --- a/arch/i386/Kconfig.cpu +++ b/arch/i386/Kconfig.cpu | |||
@@ -299,7 +299,7 @@ config X86_POPAD_OK | |||
299 | 299 | ||
300 | config X86_CMPXCHG64 | 300 | config X86_CMPXCHG64 |
301 | bool | 301 | bool |
302 | depends on !M386 && !M486 | 302 | depends on X86_PAE |
303 | default y | 303 | default y |
304 | 304 | ||
305 | config X86_ALIGNMENT_16 | 305 | config X86_ALIGNMENT_16 |