Kconfig (3800d55250976b7a4bd42c255b267bc242669709) Kconfig (59b5ed409d03bc8b7bb153d78afcd7cea9d7bbfa)
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5#
6# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
7# add proper SWAP support to them, in which case this can be remove.
8#

--- 920 unchanged lines hidden (view full) ---

929 def_bool y
930 depends on ARCH_SUPPORTS_HUGE_PFNMAP && HAVE_ARCH_TRANSPARENT_HUGEPAGE
931
932config ARCH_SUPPORTS_PUD_PFNMAP
933 def_bool y
934 depends on ARCH_SUPPORTS_HUGE_PFNMAP && HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
935
936#
1# SPDX-License-Identifier: GPL-2.0-only
2
3menu "Memory Management options"
4
5#
6# For some reason microblaze and nios2 hard code SWAP=n. Hopefully we can
7# add proper SWAP support to them, in which case this can be remove.
8#

--- 920 unchanged lines hidden (view full) ---

929 def_bool y
930 depends on ARCH_SUPPORTS_HUGE_PFNMAP && HAVE_ARCH_TRANSPARENT_HUGEPAGE
931
932config ARCH_SUPPORTS_PUD_PFNMAP
933 def_bool y
934 depends on ARCH_SUPPORTS_HUGE_PFNMAP && HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD
935
936#
937# Architectures that always use weak definitions for percpu
938# variables in modules should set this.
939#
940config ARCH_MODULE_NEEDS_WEAK_PER_CPU
941 bool
942
943#
937# UP and nommu archs use km based percpu allocator
938#
939config NEED_PER_CPU_KM
940 depends on !SMP || !MMU
941 bool
942 default y
943
944config NEED_PER_CPU_EMBED_FIRST_CHUNK

--- 444 unchanged lines hidden ---
944# UP and nommu archs use km based percpu allocator
945#
946config NEED_PER_CPU_KM
947 depends on !SMP || !MMU
948 bool
949 default y
950
951config NEED_PER_CPU_EMBED_FIRST_CHUNK

--- 444 unchanged lines hidden ---