Skip to content

Commit

Permalink
KVM: arm64: Move 'struct kvm_arch_memory_slot' out of uapi/
Browse files Browse the repository at this point in the history
'struct kvm_arch_memory_slot' isn't part of the user ABI, so move it out
of the uapi/ headers in case we start using it in future and accidentally
back ourselves into a corner.

Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20201118194402.2892-2-will@kernel.org
  • Loading branch information
Will Deacon authored and Marc Zyngier committed Nov 27, 2020
1 parent f8394f2 commit 8d14797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions arch/arm64/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ struct kvm_s2_mmu {
struct kvm *kvm;
};

struct kvm_arch_memory_slot {
};

struct kvm_arch {
struct kvm_s2_mmu mmu;

Expand Down
3 changes: 0 additions & 3 deletions arch/arm64/include/uapi/asm/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,6 @@ struct kvm_sync_regs {
__u64 device_irq_level;
};

struct kvm_arch_memory_slot {
};

/*
* PMU filter structure. Describe a range of events with a particular
* action. To be used with KVM_ARM_VCPU_PMU_V3_FILTER.
Expand Down

0 comments on commit 8d14797

Please sign in to comment.