]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Mark the host stage-2 memory pools static
authorQuentin Perret <qperret@google.com>
Fri, 14 May 2021 08:56:40 +0000 (08:56 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 15 May 2021 09:27:59 +0000 (10:27 +0100)
commit494cd7429d839e2eb96d17c4a8184c9dac7cb2a6
tree45aa97b5adf7f6e5203708fc0797cc50d8e60d0c
parent9aab39365e59f67316fbd934cb1d6941fb4e123d
KVM: arm64: Mark the host stage-2 memory pools static

The host stage-2 memory pools are not used outside of mem_protect.c,
mark them static.

Fixes: ea8d26c8388a ("KVM: arm64: Wrap the host with a stage 2")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210514085640.3917886-3-qperret@google.com
arch/arm64/kvm/hyp/nvhe/mem_protect.c