]> 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)
commit33f780b5a2b1542e5cb3f06a5111c718dd9a815c
treefef5f19d6a638c17d9f30f7344bdae9bad4d9fcb
parent0770621a392e4c8456cb30eb54d1fdbb368cdd3f
arm64: mm: remove unused cpu_set_idmap_tcr_t0sz function

With commit 3337042a56db ("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