i386: Allow KVM on i386 nonpae
Currently, CONFIG_X86_CMPXCHG64 both enables boot-time checking of the cmpxchg64b feature and enables compilation of the set_64bit() family. Since the option is dependent on PAE, and since KVM depends on set_64bit(), this effectively disables KVM on i386 nopae. Simplify by removing the config option altogether: the boot check is made dependent on CONFIG_X86_PAE directly, and the set_64bit() family is exposed without constraints. It is up to users to check for the feature flag (KVM does not as virtualiation extensions imply its existence). Signed-off-by:Avi Kivity <avi@qumranet.com> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/i386/Kconfig.cpu 0 additions, 5 deletionsarch/i386/Kconfig.cpu
- arch/i386/defconfig 0 additions, 1 deletionarch/i386/defconfig
- arch/um/defconfig 0 additions, 1 deletionarch/um/defconfig
- drivers/kvm/Kconfig 0 additions, 1 deletiondrivers/kvm/Kconfig
- include/asm-i386/cmpxchg.h 5 additions, 9 deletionsinclude/asm-i386/cmpxchg.h
- include/asm-i386/required-features.h 1 addition, 1 deletioninclude/asm-i386/required-features.h
Please register or sign in to comment