Skip to content
Commit 386a7467 authored by Yunfeng Ye's avatar Yunfeng Ye Committed by Catalin Marinas
Browse files

arm64: mm: Use asid feature macro for cheanup



The commit 95b54c3e ("KVM: arm64: Add feature register flag
definitions") introduce the ID_AA64MMFR0_ASID_8 and ID_AA64MMFR0_ASID_16
macros.

We can use these macros for cheanup in get_cpu_asid_bits().

No functional change.

Signed-off-by: default avatarYunfeng Ye <yeyunfeng@huawei.com>
Reviewed-by: default avatarKefeng Wang <wangkefeng.wang@huawei.com>
Link: https://lore.kernel.org/r/f71c75d3-735e-b32a-8414-b3e513c77240@huawei.com


Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a3a5b763
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment