hw/intc/arm_gicv3: Fix compilation with simple trace backend
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).
Signed-off-by Peter Maydell <[email protected]>
---
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
@@ -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
@@ -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
Quoted 5 lines · Peter Maydell
Fix missing includes of
qemu/log.h, which broke compilation with the simple trace backend (the default backend pulls inlog.himplicitly viatrace.h).Signed-off-by Peter Maydell <[email protected]>
Tested-by Sergey Fedorov <[email protected]>
Reviewed-by Sergey Fedorov <[email protected]>
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@@ -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@@ -10,6 +10,7 @@*/ #include "qemu/osdep.h" +#include "qemu/log.h" #include "trace.h" #include "gicv3_internal.h"
Quoted 9 lines · Sergey Fedorov
Quoted 5 lines · Peter Maydell
Fix missing includes of
qemu/log.h, which broke compilation with the simple trace backend (the default backend pulls inlog.himplicitly viatrace.h).Signed-off-by Peter Maydell <[email protected]>Tested-by Sergey Fedorov <[email protected]>Reviewed-by Sergey Fedorov <[email protected]>
Thanks. Applied to master as a build fix.
-- PMM