summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/book3s_64_mmu_hv.c
diff options
context:
space:
mode:
authorPaul Mackerras2018-12-12 05:16:48 +0100
committerPaul Mackerras2018-12-17 00:58:43 +0100
commitc43c3a8683fe624b67b91a06f1c25cd752a05b3b (patch)
tree7c02e48585bc9e77c88d3b3da8c26580252aedc6 /arch/powerpc/kvm/book3s_64_mmu_hv.c
parentKVM: PPC: Book3S HV: Map single pages when doing dirty page logging (diff)
downloadkernel-qcow2-linux-c43c3a8683fe624b67b91a06f1c25cd752a05b3b.tar.gz
kernel-qcow2-linux-c43c3a8683fe624b67b91a06f1c25cd752a05b3b.tar.xz
kernel-qcow2-linux-c43c3a8683fe624b67b91a06f1c25cd752a05b3b.zip
KVM: PPC: Book3S HV: Cleanups - constify memslots, fix comments
This adds 'const' to the declarations for the struct kvm_memory_slot pointer parameters of some functions, which will make it possible to call those functions from kvmppc_core_commit_memory_region_hv() in the next patch. This also fixes some comments about locking. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Reviewed-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc/kvm/book3s_64_mmu_hv.c')
0 files changed, 0 insertions, 0 deletions