[PATCH] arm64/mm: Drop cpu_set_[default|idmap]_tcr_t0sz()

Will Deacon will at kernel.org
Tue Nov 4 07:35:46 PST 2025


On Wed, Oct 15, 2025 at 03:10:24AM +0100, Anshuman Khandual wrote:
> These TCR_El1 helpers don't have any other callers. Drop these redundant
> indirections completely thus making this code more compact and readable.
> No functional change.
> 
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual at arm.com>
> ---
>  arch/arm64/include/asm/mmu_context.h | 12 ++----------
>  1 file changed, 2 insertions(+), 10 deletions(-)

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list