Kconfig 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # SPDX-License-Identifier: GPL-2.0
  2. menu "Host processor type and features"
  3. source "arch/x86/Kconfig.cpu"
  4. endmenu
  5. config UML_X86
  6. def_bool y
  7. select GENERIC_FIND_FIRST_BIT
  8. config 64BIT
  9. bool "64-bit kernel" if "$(SUBARCH)" = "x86"
  10. default "$(SUBARCH)" != "i386"
  11. config X86_32
  12. def_bool !64BIT
  13. select HAVE_AOUT
  14. select ARCH_WANT_IPC_PARSE_VERSION
  15. select MODULES_USE_ELF_REL
  16. select CLONE_BACKWARDS
  17. select OLD_SIGSUSPEND3
  18. select OLD_SIGACTION
  19. config X86_64
  20. def_bool 64BIT
  21. select MODULES_USE_ELF_RELA
  22. config ARCH_DEFCONFIG
  23. string
  24. default "arch/um/configs/i386_defconfig" if X86_32
  25. default "arch/um/configs/x86_64_defconfig" if X86_64
  26. config RWSEM_XCHGADD_ALGORITHM
  27. def_bool 64BIT
  28. config RWSEM_GENERIC_SPINLOCK
  29. def_bool !RWSEM_XCHGADD_ALGORITHM
  30. config 3_LEVEL_PGTABLES
  31. bool "Three-level pagetables" if !64BIT
  32. default 64BIT
  33. help
  34. Three-level pagetables will let UML have more than 4G of physical
  35. memory. All the memory that can't be mapped directly will be treated
  36. as high memory.
  37. However, this it experimental on 32-bit architectures, so if unsure say
  38. N (on x86-64 it's automatically enabled, instead, as it's safe there).
  39. config ARCH_HAS_SC_SIGNALS
  40. def_bool !64BIT
  41. config ARCH_REUSE_HOST_VSYSCALL_AREA
  42. def_bool !64BIT
  43. config GENERIC_HWEIGHT
  44. def_bool y