aboutsummaryrefslogtreecommitdiff
path: root/target-ppc/kvm_ppc.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2013-08-29 02:00:16 +0200
committerAlexander Graf <agraf@suse.de>2013-09-02 10:06:42 +0200
commit7bb438b6a102766ac58e1a2981f8749e4515aa01 (patch)
treef8df09b82fbfa45b07d746a28568abe635394f6b /target-ppc/kvm_ppc.c
parent42561bf2e464a2d682707af1640fc2db1e937c42 (diff)
downloadqemu-arm-7bb438b6a102766ac58e1a2981f8749e4515aa01.tar.gz
PPC: KVM: Compile fix for qemu_notify_event
The function qemu_notify_event is defined by a header that we don't include in the PPC KVM code. Include it to get the code building again. target-ppc/kvm_ppc.c: In function 'kvmppc_timer_hack': target-ppc/kvm_ppc.c:26:5: error: implicit declaration of function 'qemu_notify_event' [-Werror=implicit-function-declaration] target-ppc/kvm_ppc.c:26:5: error: nested extern declaration of 'qemu_notify_event' [-Werror=nested-externs] Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/kvm_ppc.c')
-rw-r--r--target-ppc/kvm_ppc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/kvm_ppc.c b/target-ppc/kvm_ppc.c
index 9b8365503b..f769acd44c 100644
--- a/target-ppc/kvm_ppc.c
+++ b/target-ppc/kvm_ppc.c
@@ -15,6 +15,7 @@
#include "qemu/timer.h"
#include "kvm_ppc.h"
#include "sysemu/device_tree.h"
+#include "qemu/main-loop.h"
#define PROC_DEVTREE_PATH "/proc/device-tree"