Skip to contentSkip to conversation

hw/intc/arm_gicv3: Fix compilation with simple trace backend

PATCH In review Peter Maydell 2 participants 3 messages Jun 20, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/intc/arm_gicv3: Fix compilation with simple trace backend

Fix missing includes of qemu/log.h, which broke compilation with the simple trace backend (the default backend pulls in log.h implicitly via trace.h).

---
In particular, this broke travis builds.

---
 hw/intc/arm_gicv3_dist.c   | 1 +
 hw/intc/arm_gicv3_redist.c | 1 +
 2 files changed, 2 insertions(+)
hw/intc/arm_gicv3_dist.c +1 -0
index b977ae5..3ea3dd0 100644
@@ -10,6 +10,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/log.h"
 #include "trace.h"
 #include "gicv3_internal.h"
 
hw/intc/arm_gicv3_redist.c +1 -0
index 55c25e8..2f60096 100644
@@ -10,6 +10,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/log.h"
 #include "trace.h"
 #include "gicv3_internal.h"
 
Signature · 1 line
1.9.1
Tested-by Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · Peter Maydell

Fix missing includes of qemu/log.h, which broke compilation with the simple trace backend (the default backend pulls in log.h implicitly via trace.h).

Thanks,
Sergey

Quoted 31 lines

---
In particular, this broke travis builds.

---
 hw/intc/arm_gicv3_dist.c   | 1 +
 hw/intc/arm_gicv3_redist.c | 1 +
 2 files changed, 2 insertions(+)
hw/intc/arm_gicv3_dist.c +1 -0
index b977ae5..3ea3dd0 100644
@@ -10,6 +10,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/log.h"
 #include "trace.h"
 #include "gicv3_internal.h"
 
hw/intc/arm_gicv3_redist.c +1 -0
index 55c25e8..2f60096 100644
@@ -10,6 +10,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu/log.h"
 #include "trace.h"
 #include "gicv3_internal.h"