Skip to content

Commit cf1b099

Browse files
Nicolas PitreRussell King
authored andcommitted
ARM: 8693/1: discard memblock arrays when possible
On ARM the generic pfn_valid() version is used with some configurations such as SA1100 based devices. In that case the memblock arrays are no longer used after boot and can be discarded. Signed-off-by: Nicolas Pitre <nico@linaro.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
1 parent 2bd6bf0 commit cf1b099

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ config ARM
22
bool
33
default y
44
select ARCH_CLOCKSOURCE_DATA
5+
select ARCH_DISCARD_MEMBLOCK if !HAVE_ARCH_PFN_VALID
56
select ARCH_HAS_DEBUG_VIRTUAL
67
select ARCH_HAS_DEVMEM_IS_ALLOWED
78
select ARCH_HAS_ELF_RANDOMIZE

0 commit comments

Comments
 (0)