summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-05-20 13:57:32 +0200
committerPeter Maydell <peter.maydell@linaro.org>2016-05-20 13:09:22 +0100
commit22b31af26ff31ef97a9d482fb5e336d699ae33f3 (patch)
tree66daeff2d071fe73e65da8518f0a30431bad940a
parent6bd8ab6889f45a42d69a3a65a4d6e7fc2453c84c (diff)
downloadqemu-22b31af26ff31ef97a9d482fb5e336d699ae33f3.tar.gz
aspeed: include qemu/log.h
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 <pbonzini@redhat.com> Message-id: 1463745452-25831-2-git-send-email-pbonzini@redhat.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/intc/aspeed_vic.c1
-rw-r--r--hw/timer/aspeed_timer.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c
index 19a0ff7486..725d5b62c5 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 ebec35935d..4b94808821 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