diff options
author | Oliver Upton <oliver.upton@linux.dev> | 2022-11-18 18:22:20 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-22 13:05:53 +0000 |
commit | 3a5154c723ba5ceb9ce374a7307e03263c03fd29 (patch) | |
tree | 2932321eaa6fe00b6ce79b3f5ac192ebf1e51bc4 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1577cb5823cefdff4416f272a88143ee933d97f5 (diff) | |
download | linux-3a5154c723ba5ceb9ce374a7307e03263c03fd29.tar.gz linux-3a5154c723ba5ceb9ce374a7307e03263c03fd29.tar.bz2 linux-3a5154c723ba5ceb9ce374a7307e03263c03fd29.zip |
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 <oliver.upton@linux.dev>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221118182222.3932898-2-oliver.upton@linux.dev
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions