]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: remove orphan declarations from kvm_ppc.h
authorGaosheng Cui <cuigaosheng1@huawei.com>
Tue, 13 Sep 2022 07:50:29 +0000 (15:50 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Sep 2022 12:55:46 +0000 (22:55 +1000)
commitcda82dfea02b0ec8ab7d25c8c63070c31b575120
tree968802ef506aadf1fc1f3325b56cf25fab96d435
parentf54dc8792524eac696ede6fb475c8eadba7a6096
KVM: PPC: remove orphan declarations from kvm_ppc.h

Remove the following orphan declarations from kvm_ppc.h:

1. kvmppc_mmu_priv_switch() has been removed since
commit 0f954ed0a053 ("KVM: PPC: e500: Add shadow PID
support").
2. kvmppc_core_destroy_mmu() has been removed since
commit f26c67871f01 ("KVM: ppc: cosmetic changes to mmu
hook names").
3. kvmppc_prepare_vrma() has been removed since
commit 4839a7873a3d ("KVM: PPC: Allocate RMAs (Real Mode
Areas) at boot for use by guests").

So remove the declarations for them from header file.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220913075029.682327-10-cuigaosheng1@huawei.com
arch/powerpc/include/asm/kvm_ppc.h