arm64: mm: remove unused cpu_set_idmap_tcr_t0sz function
authorWill Deacon <will.deacon@arm.com>
Tue, 6 Oct 2015 17:46:21 +0000 (18:46 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 7 Oct 2015 10:44:05 +0000 (11:44 +0100)
commitc51e97d89e526368eb697f87cd4d391b9e19f369
treefef5f19d6a638c17d9f30f7344bdae9bad4d9fcb
parent127db024a7baee9874014dac33628253f438b4da
arm64: mm: remove unused cpu_set_idmap_tcr_t0sz function

With commit b08d4640a3dc ("arm64: remove dead code"),
cpu_set_idmap_tcr_t0sz is no longer called and can therefore be removed
from the kernel.

This patch removes the function and effectively inlines the helper
function __cpu_set_tcr_t0sz into cpu_set_default_tcr_t0sz.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/mmu_context.h