summaryrefslogtreecommitdiff
path: root/target-mips
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-07 16:55:28 +0300
committerStefan Hajnoczi <stefanha@redhat.com>2016-02-03 09:19:10 +0000
commit508127e243122cf3ed67d2aaa472a1b4f1be055e (patch)
tree8880511082ad116a86b8a780b47dfff0812d0084 /target-mips
parente9527dd399ed213ec6eb2c0ea54be663a73032b0 (diff)
downloadqemu-508127e243122cf3ed67d2aaa472a1b4f1be055e.tar.gz
qemu-508127e243122cf3ed67d2aaa472a1b4f1be055e.tar.bz2
qemu-508127e243122cf3ed67d2aaa472a1b4f1be055e.zip
log: do not unnecessarily include qom/cpu.h
Split the bits that require it to exec/log.h. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Christian Borntraeger <borntraeger@de.ibm.com> Message-id: 1452174932-28657-8-git-send-email-den@openvz.org Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'target-mips')
-rw-r--r--target-mips/helper.c1
-rw-r--r--target-mips/translate.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/target-mips/helper.c b/target-mips/helper.c
index f9c4c11eb9..1004edee05 100644
--- a/target-mips/helper.c
+++ b/target-mips/helper.c
@@ -21,6 +21,7 @@
#include "cpu.h"
#include "sysemu/kvm.h"
#include "exec/cpu_ldst.h"
+#include "exec/log.h"
enum {
TLBRET_XI = -6,
diff --git a/target-mips/translate.c b/target-mips/translate.c
index 383d4b5118..791866bf2d 100644
--- a/target-mips/translate.c
+++ b/target-mips/translate.c
@@ -33,6 +33,7 @@
#include "exec/semihost.h"
#include "trace-tcg.h"
+#include "exec/log.h"
#define MIPS_DEBUG_DISAS 0