qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] aspeed: include qemu/log.h


From: Paolo Bonzini
Subject: [Qemu-devel] [PATCH] aspeed: include qemu/log.h
Date: Fri, 20 May 2016 13:57:32 +0200

This is not visible with the default "log" trace backend.  With other
backends however trace.h does not include qemu/log.h, resulting in
build failures.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 hw/intc/aspeed_vic.c    | 1 +
 hw/timer/aspeed_timer.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c
index 19a0ff7..725d5b6 100644
--- a/hw/intc/aspeed_vic.c
+++ b/hw/intc/aspeed_vic.c
@@ -31,6 +31,7 @@
 #include <inttypes.h>
 #include "hw/intc/aspeed_vic.h"
 #include "qemu/bitops.h"
+#include "qemu/log.h"
 #include "trace.h"
 
 #define AVIC_NEW_BASE_OFFSET 0x80
diff --git a/hw/timer/aspeed_timer.c b/hw/timer/aspeed_timer.c
index ebec359..4b94808 100644
--- a/hw/timer/aspeed_timer.c
+++ b/hw/timer/aspeed_timer.c
@@ -17,6 +17,7 @@
 #include "qemu/bitops.h"
 #include "qemu/main-loop.h"
 #include "qemu/timer.h"
+#include "qemu/log.h"
 #include "trace.h"
 
 #define TIMER_NR_REGS 4
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]