diff options
author | Oliver Upton <[email protected]> | 2022-11-18 18:22:20 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-22 13:05:53 +0000 |
commit | 3a5154c723ba5ceb9ce374a7307e03263c03fd29 (patch) | |
tree | 2932321eaa6fe00b6ce79b3f5ac192ebf1e51bc4 /lib/mpi/mpi-mod.c | |
parent | 1577cb5823cefdff4416f272a88143ee933d97f5 (diff) |
KVM: arm64: Take a pointer to walker data in kvm_dereference_pteref()
Rather than passing through the state of the KVM_PGTABLE_WALK_SHARED
flag, just take a pointer to the whole walker structure instead. Move
around struct kvm_pgtable and the RCU indirection such that the
associated ifdeffery remains in one place while ensuring the walker +
flags definitions precede their use.
No functional change intended.
Signed-off-by: Oliver Upton <[email protected]>
Acked-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions