summaryrefslogtreecommitdiff
path: root/hw/intc/openpic.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-16 17:04:21 +0200
committerAndreas Färber <afaerber@suse.de>2013-07-09 21:33:02 +0200
commit2b927571ccdb79deda74ba84ef493e6cb37eacbe (patch)
tree7b2aa5e96fe185c1bf0ab11ea30afdce022253ef /hw/intc/openpic.c
parentdfc080791dfb9dd8907a15e6d45b6cc4969b986f (diff)
downloadqemu-2b927571ccdb79deda74ba84ef493e6cb37eacbe.tar.gz
intc/openpic: Build openpic only once
Since current_cpu is CPUState it no longer depends on CPUPPCState. Move ppce500_set_mpic_proxy() to a new hw/ppc/ppc_e500.h because hw/ppc/ppc.h is too heavily using CPUPPCState and PowerPCCPU. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/intc/openpic.c')
-rw-r--r--hw/intc/openpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/openpic.c b/hw/intc/openpic.c
index d984dba7e5..7df72f44f0 100644
--- a/hw/intc/openpic.c
+++ b/hw/intc/openpic.c
@@ -37,10 +37,10 @@
#include "hw/ppc/mac.h"
#include "hw/pci/pci.h"
#include "hw/ppc/openpic.h"
+#include "hw/ppc/ppc_e500.h"
#include "hw/sysbus.h"
#include "hw/pci/msi.h"
#include "qemu/bitops.h"
-#include "hw/ppc/ppc.h"
//#define DEBUG_OPENPIC