Message ID | 1556740577-4140-3-git-send-email-rppt@linux.ibm.com |
---|---|
State | Not Applicable |
Delegated to: | David Miller |
Headers | show |
Series | remove ARCH_SELECT_MEMORY_MODEL where it has no effect | expand |
On Wed, May 01, 2019 at 10:56:16PM +0300, Mike Rapoport wrote: > The only reason s390 has ARCH_SELECT_MEMORY_MODEL option in > arch/s390/Kconfig is an ancient compile error with allnoconfig which was > fixed by commit 97195d6b411f ("[S390] fix sparsemem related compile error > with allnoconfig on s390") by adding the ARCH_SELECT_MEMORY_MODEL option. > > Since then a lot have changed and now allnoconfig builds just fine without > ARCH_SELECT_MEMORY_MODEL, so it can be removed. > > Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> > --- > arch/s390/Kconfig | 3 --- > 1 file changed, 3 deletions(-) Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig index b6e3d06..69d3956 100644 --- a/arch/s390/Kconfig +++ b/arch/s390/Kconfig @@ -621,9 +621,6 @@ config ARCH_SPARSEMEM_ENABLE config ARCH_SPARSEMEM_DEFAULT def_bool y -config ARCH_SELECT_MEMORY_MODEL - def_bool y - config ARCH_ENABLE_MEMORY_HOTPLUG def_bool y if SPARSEMEM
The only reason s390 has ARCH_SELECT_MEMORY_MODEL option in arch/s390/Kconfig is an ancient compile error with allnoconfig which was fixed by commit 97195d6b411f ("[S390] fix sparsemem related compile error with allnoconfig on s390") by adding the ARCH_SELECT_MEMORY_MODEL option. Since then a lot have changed and now allnoconfig builds just fine without ARCH_SELECT_MEMORY_MODEL, so it can be removed. Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> --- arch/s390/Kconfig | 3 --- 1 file changed, 3 deletions(-)