diff options
author | Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> | 2021-11-22 15:18:42 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 17:46:28 +0300 |
commit | f8051e960922a9de8e42159103d5d9c697ef17ec (patch) | |
tree | e734f064279df88a0416843d54aeca3045bde303 /arch/arm64/kvm | |
parent | 417838392f2e657ee25cc30e373ff4c35a0faa90 (diff) | |
download | linux-f8051e960922a9de8e42159103d5d9c697ef17ec.tar.xz |
KVM: arm64: Make VMID bits accessible outside of allocator
Since we already set the kvm_arm_vmid_bits in the VMID allocator
init function, make it accessible outside as well so that it can
be used in the subsequent patch.
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211122121844.867-3-shameerali.kolothum.thodi@huawei.com
Diffstat (limited to 'arch/arm64/kvm')
-rw-r--r-- | arch/arm64/kvm/vmid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kvm/vmid.c b/arch/arm64/kvm/vmid.c index aa01c97f7df0..9aff692b6b7d 100644 --- a/arch/arm64/kvm/vmid.c +++ b/arch/arm64/kvm/vmid.c @@ -16,7 +16,7 @@ #include <asm/kvm_asm.h> #include <asm/kvm_mmu.h> -static unsigned int kvm_arm_vmid_bits; +unsigned int kvm_arm_vmid_bits; static DEFINE_RAW_SPINLOCK(cpu_vmid_lock); static atomic64_t vmid_generation; |