]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9cb5a13430b3301c103c95fc6aa62b12ab28e609
treefef5f19d6a638c17d9f30f7344bdae9bad4d9fcb
parent701a5cec155e9baee70aa4d4167ee714306a4782
arm64: mm: remove unused cpu_set_idmap_tcr_t0sz function

With commit 6d3c8b278cfa ("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