From 23a14040dbf66405d2eabd50a9b859eaebd522b2 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 --- configs/fedora/generic/CONFIG_FLATMEM_MANUAL | 1 - 1 file changed, 1 deletion(-) delete mode 100644 configs/fedora/generic/CONFIG_FLATMEM_MANUAL (limited to 'configs/fedora/generic/CONFIG_FLATMEM_MANUAL') diff --git a/configs/fedora/generic/CONFIG_FLATMEM_MANUAL b/configs/fedora/generic/CONFIG_FLATMEM_MANUAL deleted file mode 100644 index c2bd90d57..000000000 --- a/configs/fedora/generic/CONFIG_FLATMEM_MANUAL +++ /dev/null @@ -1 +0,0 @@ -CONFIG_FLATMEM_MANUAL=y -- cgit