intc/arm_gic: Build arm_gic only once
authorAndreas Färber <afaerber@suse.de>
Sun, 16 Jun 2013 14:42:03 +0000 (16:42 +0200)
committerAndreas Färber <afaerber@suse.de>
Tue, 9 Jul 2013 19:33:02 +0000 (21:33 +0200)
Since current_cpu is CPUState it no longer needs CPUArchState.

Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/intc/Makefile.objs
hw/intc/arm_gic.c

index 2ba49d0e41f0ee8d880dd4dd275d66a384c8f963..e8f92674c27245842bdd1d622fcf49baacc7db47 100644 (file)
@@ -10,9 +10,9 @@ common-obj-$(CONFIG_REALVIEW) += realview_gic.o
 common-obj-$(CONFIG_SLAVIO) += slavio_intctl.o
 common-obj-$(CONFIG_IOAPIC) += ioapic_common.o
 common-obj-$(CONFIG_ARM_GIC) += arm_gic_common.o
+common-obj-$(CONFIG_ARM_GIC) += arm_gic.o
 
 obj-$(CONFIG_APIC) += apic.o apic_common.o
-obj-$(CONFIG_ARM_GIC) += arm_gic.o
 obj-$(CONFIG_ARM_GIC_KVM) += arm_gic_kvm.o
 obj-$(CONFIG_STELLARIS) += armv7m_nvic.o
 obj-$(CONFIG_EXYNOS4) += exynos4210_gic.o exynos4210_combiner.o
index 237d1d6285da0c9511e0b218226308855e01b4d8..8e340049c3ab4763d0952e5adfcd538c49ea8d3a 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "hw/sysbus.h"
 #include "gic_internal.h"
+#include "qom/cpu.h"
 
 //#define DEBUG_GIC