diff options
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r-- | arch/x86/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 0eacb1ffb421..89d8c54cdd37 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig | |||
@@ -238,6 +238,11 @@ config X86_32_LAZY_GS | |||
238 | def_bool y | 238 | def_bool y |
239 | depends on X86_32 && !CC_STACKPROTECTOR | 239 | depends on X86_32 && !CC_STACKPROTECTOR |
240 | 240 | ||
241 | config ARCH_HWEIGHT_CFLAGS | ||
242 | string | ||
243 | default "-fcall-saved-ecx -fcall-saved-edx" if X86_32 | ||
244 | default "-fcall-saved-rdi -fcall-saved-rsi -fcall-saved-rdx -fcall-saved-rcx -fcall-saved-r8 -fcall-saved-r9 -fcall-saved-r10 -fcall-saved-r11" if X86_64 | ||
245 | |||
241 | config KTIME_SCALAR | 246 | config KTIME_SCALAR |
242 | def_bool X86_32 | 247 | def_bool X86_32 |
243 | source "init/Kconfig" | 248 | source "init/Kconfig" |