Revision 03069bb0b19f8c3b6e079099dd8ac5e974756381 authored by Mike Rapoport on 12 July 2019, 03:54:24 UTC, committed by Linus Torvalds on 12 July 2019, 18:05:42 UTC
Patch series "remove ARCH_SELECT_MEMORY_MODEL where it has no effect". For several architectures the ARCH_SELECT_MEMORY_MODEL has no real effect because the dependencies for the memory model are always evaluated to a single value. Remove the ARCH_SELECT_MEMORY_MODEL from the Kconfigs for these architectures. This patch (of 3): The ARCH_SELECT_MEMORY_MODEL in arch/arm/Kconfig is enabled only when ARCH_SPARSEMEM_ENABLE=y. But in this case, ARCH_SPARSEMEM_DEFAULT is also enabled and this in turn enables SPARSEMEM_MANUAL. Since there is no definition of ARCH_FLATMEM_ENABLE in arch/arm/Kconfig, SPARSEMEM_MANUAL is the only enabled memory model, hence the final selection will evaluate to SPARSEMEM=y. Since ARCH_SPARSEMEM_ENABLE is set to 'y' only by several sub-arch configurations, the default for must sub-arches would be the falback to FLATMEM regardless of ARCH_SELECT_MEMORY_MODEL. Link: http://lkml.kernel.org/r/1556740577-4140-2-git-send-email-rppt@linux.ibm.com Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Christoph Hellwig <hch@infradead.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 2236b99
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 3.7 KB |
Makefile | -rw-r--r-- | 684 bytes |
dsa.c | -rw-r--r-- | 8.1 KB |
dsa2.c | -rw-r--r-- | 17.3 KB |
dsa_priv.h | -rw-r--r-- | 6.4 KB |
master.c | -rw-r--r-- | 7.5 KB |
port.c | -rw-r--r-- | 16.8 KB |
slave.c | -rw-r--r-- | 41.9 KB |
switch.c | -rw-r--r-- | 9.4 KB |
tag_8021q.c | -rw-r--r-- | 11.2 KB |
tag_brcm.c | -rw-r--r-- | 5.7 KB |
tag_dsa.c | -rw-r--r-- | 3.7 KB |
tag_edsa.c | -rw-r--r-- | 4.3 KB |
tag_gswip.c | -rw-r--r-- | 2.8 KB |
tag_ksz.c | -rw-r--r-- | 4.8 KB |
tag_lan9303.c | -rw-r--r-- | 4.2 KB |
tag_mtk.c | -rw-r--r-- | 2.8 KB |
tag_qca.c | -rw-r--r-- | 2.9 KB |
tag_sja1105.c | -rw-r--r-- | 8.7 KB |
tag_trailer.c | -rw-r--r-- | 2.1 KB |
Computing file changes ...