Kconfig (1ca3683cc6d2c2ce4204df519c4e4730d037905a) Kconfig (e29aad08b1da7772b362537be32335c0394e65fe)
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 help
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 2379 unchanged lines hidden (view full) ---

2388
2389endmenu
2390
2391config CC_HAS_NAMED_AS
2392 def_bool CC_IS_GCC && GCC_VERSION >= 120100
2393
2394config USE_X86_SEG_SUPPORT
2395 def_bool y
1# SPDX-License-Identifier: GPL-2.0
2# Select 32 or 64 bit
3config 64BIT
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
5 default "$(ARCH)" != "i386"
6 help
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386

--- 2379 unchanged lines hidden (view full) ---

2388
2389endmenu
2390
2391config CC_HAS_NAMED_AS
2392 def_bool CC_IS_GCC && GCC_VERSION >= 120100
2393
2394config USE_X86_SEG_SUPPORT
2395 def_bool y
2396 depends on CC_HAS_NAMED_AS && SMP
2396 depends on CC_HAS_NAMED_AS
2397 #
2398 # -fsanitize=kernel-address (KASAN) is at the moment incompatible
2399 # with named address spaces - see GCC PR sanitizer/111736.
2400 #
2401 depends on !KASAN
2397
2398config CC_HAS_SLS
2399 def_bool $(cc-option,-mharden-sls=all)
2400
2401config CC_HAS_RETURN_THUNK
2402 def_bool $(cc-option,-mfunction-return=thunk-extern)
2403
2404config CC_HAS_ENTRY_PADDING

--- 596 unchanged lines hidden ---
2402
2403config CC_HAS_SLS
2404 def_bool $(cc-option,-mharden-sls=all)
2405
2406config CC_HAS_RETURN_THUNK
2407 def_bool $(cc-option,-mfunction-return=thunk-extern)
2408
2409config CC_HAS_ENTRY_PADDING

--- 596 unchanged lines hidden ---