summaryrefslogtreecommitdiff
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2012-11-12 19:19:35 (GMT)
committerCatalin Marinas <catalin.marinas@arm.com>2012-11-14 09:54:15 (GMT)
commit938edf5c04202b59b8ff01a4033e9413646b105b (patch)
tree794affc77e1b5dc33d2e99f0e5ebaefaf5e16994 /arch/sparc/Kconfig
parent3495386b107510ba7014f42da37034648c1d2cfd (diff)
downloadlinux-fsl-qoriq-938edf5c04202b59b8ff01a4033e9413646b105b.tar.xz
arm64: mm: update max_dma32 before calculating size of NORMAL zone
Commit f483a853b0b9 ("arm64: mm: fix booting on systems with no memory below 4GB") sets max_dma32 to the minimum of the maximum pfn and MAX_DMA32_PFN. This value is later used as the base of the NORMAL zone, which is incorrect when MAX_DMA32_PFN is below the minimum pfn (i.e. all memory is above 4GB). This patch fixes the problem by ensuring that max_dma32 is always set to the end of the DMA32 zone. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/sparc/Kconfig')
0 files changed, 0 insertions, 0 deletions