mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
lkl: drop explicit CONFIG_SHMEM=n setting
The previous mainline commit 1f737846aa3c4 ("mm/shmem: inline
shmem_is_huge() for disabled transparent hugepages") fixes the described
build failure, so leave the CONFIG_SHMEM setting up to the user (it's
enabled by default with MMU=y).
Signed-off-by: David Disseldorp <ddiss@suse.de>
This commit is contained in:
@@ -248,10 +248,6 @@ endef
|
||||
define do_autoconf_mmu
|
||||
$(call set_autoconf_var,MMU,y)
|
||||
$(call set_kernel_config,MMU,y)
|
||||
# Don't need swap in LKL. CONFIG_SHMEM generates a compile-time assertion
|
||||
# when build with gcc, however, works fine with clang. The issues is in macro
|
||||
# HPAGE_PMD_SIZE which should be optimized out but is not in case of gcc.
|
||||
$(call set_kernel_config,SHMEM,n)
|
||||
$(if $(MMU_KUNIT), $(call mmu_test_enable))
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user