]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Pass change type down to memslot commit function
authorBharata B Rao <bharata@linux.ibm.com>
Wed, 12 Dec 2018 04:15:30 +0000 (15:15 +1100)
committerPaul Mackerras <paulus@ozlabs.org>
Sun, 16 Dec 2018 23:57:27 +0000 (10:57 +1100)
commitbb41f3b7dbaa61c14f1c0cfc256929a4a8dc213e
treef4fa81780207ca7e13994a1de2925904a7500249
parent9bcedf64d8478c7652e03f2436ed11222759c6d6
KVM: PPC: Pass change type down to memslot commit function

Currently, kvm_arch_commit_memory_region() gets called with a
parameter indicating what type of change is being made to the memslot,
but it doesn't pass it down to the platform-specific memslot commit
functions.  This adds the `change' parameter to the lower-level
functions so that they can use it in future.

[paulus@ozlabs.org - fix book E also.]

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
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>
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_pr.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/powerpc.c