diff options
author | Quentin Perret <qperret@google.com> | 2022-11-10 20:02:34 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-11 17:40:54 +0100 |
commit | 0f4f7ae10ee4e6403659b2d9ddf05424eecde45b (patch) | |
tree | 198c7ce2a9083026bfbdd165bc8612498629a2a0 /arch/arm64/kvm/hyp/include/nvhe/mm.h | |
parent | Linux 6.1-rc3 (diff) | |
download | linux-0f4f7ae10ee4e6403659b2d9ddf05424eecde45b.tar.xz linux-0f4f7ae10ee4e6403659b2d9ddf05424eecde45b.zip |
KVM: arm64: Move hyp refcount manipulation helpers to common header file
We will soon need to manipulate 'struct hyp_page' refcounts from outside
page_alloc.c, so move the helpers to a common header file to allow them
to be reused easily.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Tested-by: Vincent Donnefort <vdonnefort@google.com>
Signed-off-by: Quentin Perret <qperret@google.com>
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221110190259.26861-2-will@kernel.org
Diffstat (limited to 'arch/arm64/kvm/hyp/include/nvhe/mm.h')
0 files changed, 0 insertions, 0 deletions