kernel: fix missing TRANSPARENT_HUGEPAGE symbols
authorStijn Tintel <stijn@linux-ipv6.be>
Sat, 1 Aug 2020 13:29:24 +0000 (16:29 +0300)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 1 Aug 2020 13:33:46 +0000 (14:33 +0100)
commit5c3e83fa881a081d0368cf3933b30a38519aaafd
treeedac98c2025020bf5b7971449a80580d92129645
parent1bff9f5b78f8a662f4ea6707e176ffb023cab0a3
kernel: fix missing TRANSPARENT_HUGEPAGE symbols

Enabling KERNEL_TRANSPARENT_HUGEPAGE exposes 2 missing symbols:
* CONFIG_READ_ONLY_THP_FOR_FS
* TRANSPARENT_HUGEPAGE_ALWAYS
* TRANSPARENT_HUGEPAGE_MADVISE

The first one was added in 5.4, and is marked experimental there so just
disable it in the generic config.

For the latter two, we should not force the user to use either of them,
so add them as build-configurable kernel options.

Fixes: d1a8217d87bf ("kernel: clean-up build-configurable kernel config symbols")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
config/Config-kernel.in
target/linux/generic/config-5.4