]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: mm: fix booting on systems with no memory below 4GB
authorWill Deacon <will.deacon@arm.com>
Thu, 8 Nov 2012 16:00:16 +0000 (16:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 8 Nov 2012 16:06:21 +0000 (16:06 +0000)
commit4e72dac62749b5c53f6ffa06da56bc509a986671
tree1954e6938eed2c2b20776b1159f001f9df071dd3
parent4d766937cdce72e52e73d3682432779d235dd84f
arm64: mm: fix booting on systems with no memory below 4GB

Booting on a system with all of its memory above the 4GB boundary breaks
for two reasons:

(1) We still try to create a non-empty DMA32 zone
(2) no-bootmem limits allocations to 0xffffffff

This patch fixes these issues for ARM64.

Tested-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/processor.h
arch/arm64/mm/init.c