diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2022-04-03 22:12:52 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-04-03 22:12:52 +1000 |
commit | 7f921a2d6c93051b6002dbb7c1781f1fa5b88cce (patch) | |
tree | 9bf29c4de8986c10464940675189a012dd65a0a3 /fs/buffer.c | |
parent | e4ff77598a109bd36789ad5e80aba66fc53d0ffb (diff) | |
download | linux-7f921a2d6c93051b6002dbb7c1781f1fa5b88cce.tar.bz2 |
KVM: PPC: Move kvmhv_on_pseries() into kvm_ppc.h
We recently introduced a usage of kvmhv_on_pseries() in powerpc.c, which
causes a build error for ppc64_book3e_allmodconfig:
arch/powerpc/kvm/powerpc.c:716:8: error: implicit declaration of function ‘kvmhv_on_pseries’
716 | if (kvmhv_on_pseries()) {
| ^~~~~~~~~~~~~~~~
Fix it by moving kvmhv_on_pseries() into kvm_ppc.h so that the stub
version is available for book3e builds.
Fixes: f771b55731fc ("KVM: PPC: Use KVM_CAP_PPC_AIL_MODE_3")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions