arm64: mm: fold init_pgd() into __create_pgd_mapping()
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 29 Jun 2016 12:51:30 +0000 (14:51 +0200)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 1 Jul 2016 10:56:27 +0000 (11:56 +0100)
commit40f87d3114b8a1e730ac8f3dc3cf1efe33124776
tree5258b159e7baf78cc865ec3c25e3998a6a13d853
parent4133af6c0419b5a2a4da245ff7af7ceca7fd740d
arm64: mm: fold init_pgd() into __create_pgd_mapping()

The routine __create_pgd_mapping() does nothing except calling init_pgd(),
which has no other callers. So fold the latter into the former. Also, drop
a comment that has gone stale.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/mmu.c