KVM: PPC: Book3S: Fix compile error in XICS emulation
authorPaul Mackerras <paulus@samba.org>
Tue, 6 Aug 2013 04:13:44 +0000 (14:13 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Sep 2013 00:18:03 +0000 (17:18 -0700)
commitfaa94b0365522a939cd10d05d526a355a7eeaadf
tree0e3c2c68f9dde9258bc97c0f04272b120a0532ed
parentd9a004a0a3bb56b62f36a460ec61c76112dd8442
KVM: PPC: Book3S: Fix compile error in XICS emulation

commit 7bfa9ad55d691f2b836b576769b11eca2cf50816 upstream.

Commit 8e44ddc3f3 ("powerpc/kvm/book3s: Add support for H_IPOLL and
H_XIRR_X in XICS emulation") added a call to get_tb() but didn't
include the header that defines it, and on some configs this means
book3s_xics.c fails to compile:

arch/powerpc/kvm/book3s_xics.c: In function ‘kvmppc_xics_hcall’:
arch/powerpc/kvm/book3s_xics.c:812:3: error: implicit declaration of function ‘get_tb’ [-Werror=implicit-function-declaration]

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kvm/book3s_xics.c