From 3609aa8ae844885a09dad7a7bb238195822a8305 Mon Sep 17 00:00:00 2001 From: Paul Bolle Date: Tue, 13 Nov 2018 17:57:20 +0100 Subject: configs: correct memory configuration The shipped .config files all have CONFIG_FLATMEM_MANUAL and CONFIG_SPARSEMEM_MANUAL set. This is wrong because each .config should have just one of these two set set. (There's also CONFIG_DISCONTIGMEM_MANUAL but Fedora doesn't use that.) As a result the build generates [...]:warning: override: SPARSEMEM_MANUAL changes choice state 24 times. If the configuration generation system drops CONFIG_FLATMEM_MANUAL the warnings go away. And that doesn't change the final .config files that the kernel's build system actually uses. (Two details that very few people will care about: 1. x86/i686 still needs to unset CONFIG_FLATMEM_MANUAL to keep process_configs.sh from killing the build; 2. the kernel build of armv7hl will silently drop CONFIG_SPARSEMEM_MANUAL. Because of that I didn't bother with an explicit override for arm/armv7.) Signed-off-by: Paul Bolle --- kernel-aarch64.config | 1 - 1 file changed, 1 deletion(-) (limited to 'kernel-aarch64.config') diff --git a/kernel-aarch64.config b/kernel-aarch64.config index d698088f3..409dd84d8 100644 --- a/kernel-aarch64.config +++ b/kernel-aarch64.config @@ -1818,7 +1818,6 @@ CONFIG_FIREWIRE_SBP2=m # CONFIG_FIRMWARE_EDID is not set # CONFIG_FIRMWARE_IN_KERNEL is not set CONFIG_FIXED_PHY=y -CONFIG_FLATMEM_MANUAL=y CONFIG_FM10K=m CONFIG_FMC_CHARDEV=m CONFIG_FMC_FAKEDEV=m -- cgit