diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-15 13:18:37 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-19 16:42:29 +0200 |
commit | 63c915526d6a54a95919ebece83fa9ca631b2508 (patch) | |
tree | 3da979d15acebf6368cd77913a05616229c3381a /target-tilegx | |
parent | 00f6da6a1a5d1ce085334eccbb50ec899ceed513 (diff) | |
download | qemu-63c915526d6a54a95919ebece83fa9ca631b2508.zip qemu-63c915526d6a54a95919ebece83fa9ca631b2508.tar.gz qemu-63c915526d6a54a95919ebece83fa9ca631b2508.tar.bz2 |
cpu: move exec-all.h inclusion out of cpu.h
exec-all.h contains TCG-specific definitions. It is not needed outside
TCG-specific files such as translate.c, exec.c or *helper.c.
One generic function had snuck into include/exec/exec-all.h; move it to
include/qom/cpu.h.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-tilegx')
-rw-r--r-- | target-tilegx/cpu.c | 1 | ||||
-rw-r--r-- | target-tilegx/cpu.h | 2 | ||||
-rw-r--r-- | target-tilegx/helper.c | 1 | ||||
-rw-r--r-- | target-tilegx/translate.c | 1 |
4 files changed, 3 insertions, 2 deletions
diff --git a/target-tilegx/cpu.c b/target-tilegx/cpu.c index d2d0912..7017cb6 100644 --- a/target-tilegx/cpu.c +++ b/target-tilegx/cpu.c @@ -25,6 +25,7 @@ #include "hw/qdev-properties.h" #include "migration/vmstate.h" #include "linux-user/syscall_defs.h" +#include "exec/exec-all.h" static void tilegx_cpu_dump_state(CPUState *cs, FILE *f, fprintf_function cpu_fprintf, int flags) diff --git a/target-tilegx/cpu.h b/target-tilegx/cpu.h index c9dda12..b9b588d 100644 --- a/target-tilegx/cpu.h +++ b/target-tilegx/cpu.h @@ -176,6 +176,4 @@ static inline void cpu_get_tb_cpu_state(CPUTLGState *env, target_ulong *pc, *flags = 0; } -#include "exec/exec-all.h" - #endif diff --git a/target-tilegx/helper.c b/target-tilegx/helper.c index 616c5c7..b4fba9c 100644 --- a/target-tilegx/helper.c +++ b/target-tilegx/helper.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "cpu.h" +#include "exec/exec-all.h" #include "qemu-common.h" #include "exec/helper-proto.h" #include <zlib.h> /* For crc32 */ diff --git a/target-tilegx/translate.c b/target-tilegx/translate.c index 03918eb..bdea673 100644 --- a/target-tilegx/translate.c +++ b/target-tilegx/translate.c @@ -23,6 +23,7 @@ #include "qemu/log.h" #include "exec/log.h" #include "disas/disas.h" +#include "exec/exec-all.h" #include "tcg-op.h" #include "exec/cpu_ldst.h" #include "linux-user/syscall_defs.h" |