diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2018-11-13 17:57:20 +0100 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2018-11-15 13:44:46 -0800 |
commit | 23a14040dbf66405d2eabd50a9b859eaebd522b2 (patch) | |
tree | 1fff9f90b2b622697af4fe91e6f31274f2615da9 /kernel-x86_64.config | |
parent | ae8e3e89c1f28c1f1221a2f802306fd1195d7fc0 (diff) | |
download | kernel-23a14040dbf66405d2eabd50a9b859eaebd522b2.tar.gz kernel-23a14040dbf66405d2eabd50a9b859eaebd522b2.tar.xz kernel-23a14040dbf66405d2eabd50a9b859eaebd522b2.zip |
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 <pebolle@tiscali.nl>
Diffstat (limited to 'kernel-x86_64.config')
-rw-r--r-- | kernel-x86_64.config | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel-x86_64.config b/kernel-x86_64.config index 90f491b36..2703d4a66 100644 --- a/kernel-x86_64.config +++ b/kernel-x86_64.config @@ -1646,7 +1646,6 @@ CONFIG_FIREWIRE_SBP2=m # CONFIG_FIREWIRE_SERIAL is not set # CONFIG_FIRMWARE_EDID is not set CONFIG_FIXED_PHY=y -CONFIG_FLATMEM_MANUAL=y CONFIG_FM10K=m CONFIG_FMC_CHARDEV=m CONFIG_FMC_FAKEDEV=m |