]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/mm: remove unnecessary boundary check
authorMiles Chen <miles.chen@mediatek.com>
Thu, 25 Feb 2016 03:44:34 +0000 (11:44 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 26 Feb 2016 13:39:53 +0000 (13:39 +0000)
commit4fe702c354a9092f4e28805ee3adf9e8960b5b35
treed4ffb32c184f1eebf41e3deb40db0ccc45845aa3
parent2ed1f58ca33a578698bda4613a0c098043088e03
arm64/mm: remove unnecessary boundary check

Remove the unnecessary boundary check since there is a huge
gap between user and kernel address that they would never overlap.
(arm64 does not have enough levels of page tables to cover 64-bit
virtual address)

See Documentation/arm64/memory.txt

Signed-off-by: Miles Chen <miles.chen@mediatek.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/init.c