diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2018-11-13 17:57:20 +0100 |
---|---|---|
committer | Jeremy Cline <jcline@redhat.com> | 2018-11-30 10:28:12 -0500 |
commit | 409190f659c48877c011fa24dab678b4b7f88fd9 (patch) | |
tree | 6cdfb30e705e95d570617e3198630855ceb3fd5b /configs | |
parent | 324d2dc0fc65b075bf91ff2468833425e7bce3e4 (diff) | |
download | kernel-409190f659c48877c011fa24dab678b4b7f88fd9.tar.gz kernel-409190f659c48877c011fa24dab678b4b7f88fd9.tar.xz kernel-409190f659c48877c011fa24dab678b4b7f88fd9.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 'configs')
-rw-r--r-- | configs/fedora/generic/CONFIG_FLATMEM_MANUAL | 1 |
1 files changed, 0 insertions, 1 deletions
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 |