aboutsummaryrefslogtreecommitdiff
path: root/target-sparc
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-sparc
parente9527dd399ed213ec6eb2c0ea54be663a73032b0 (diff)
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-sparc')
-rw-r--r--target-sparc/int32_helper.c1
-rw-r--r--target-sparc/int64_helper.c1
-rw-r--r--target-sparc/translate.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/target-sparc/int32_helper.c b/target-sparc/int32_helper.c
index d4d6a4b8a5..09afe136e5 100644
--- a/target-sparc/int32_helper.c
+++ b/target-sparc/int32_helper.c
@@ -21,6 +21,7 @@
#include "cpu.h"
#include "trace.h"
#include "sysemu/sysemu.h"
+#include "exec/log.h"
#define DEBUG_PCALL
diff --git a/target-sparc/int64_helper.c b/target-sparc/int64_helper.c
index ddef66b569..aa876cd8ba 100644
--- a/target-sparc/int64_helper.c
+++ b/target-sparc/int64_helper.c
@@ -20,6 +20,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "exec/helper-proto.h"
+#include "exec/log.h"
#include "trace.h"
#define DEBUG_PCALL
diff --git a/target-sparc/translate.c b/target-sparc/translate.c
index 747f94d60e..67268604ba 100644
--- a/target-sparc/translate.c
+++ b/target-sparc/translate.c
@@ -29,6 +29,7 @@
#include "exec/helper-gen.h"
#include "trace-tcg.h"
+#include "exec/log.h"
#define DEBUG_DISAS