diff options
author | Paolo Bonzini | 2016-01-07 14:55:28 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2016-02-03 10:19:10 +0100 |
commit | 508127e243122cf3ed67d2aaa472a1b4f1be055e (patch) | |
tree | 8880511082ad116a86b8a780b47dfff0812d0084 /target-sh4 | |
parent | trace: add "-trace help" (diff) | |
download | qemu-508127e243122cf3ed67d2aaa472a1b4f1be055e.tar.gz qemu-508127e243122cf3ed67d2aaa472a1b4f1be055e.tar.xz 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-sh4')
-rw-r--r-- | target-sh4/helper.c | 1 | ||||
-rw-r--r-- | target-sh4/translate.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/target-sh4/helper.c b/target-sh4/helper.c index 9d8b61cce6..6438338f24 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "exec/log.h" #if !defined(CONFIG_USER_ONLY) #include "hw/sh4/sh_intc.h" diff --git a/target-sh4/translate.c b/target-sh4/translate.c index 9de5659cf7..3e4164b78f 100644 --- a/target-sh4/translate.c +++ b/target-sh4/translate.c @@ -29,6 +29,7 @@ #include "exec/helper-gen.h" #include "trace-tcg.h" +#include "exec/log.h" typedef struct DisasContext { |