diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-30 11:59:31 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-06-01 14:15:10 +0200 |
commit | 23cecc2717cec380ba5898d48969f0a5432c1043 (patch) | |
tree | 560f4a291c2e8f05d9f9930906e2da6c7c23e575 /target/nios2 | |
parent | 23c11b04dcc508536a7a39e723058523a94013a4 (diff) | |
download | qemu-23cecc2717cec380ba5898d48969f0a5432c1043.zip qemu-23cecc2717cec380ba5898d48969f0a5432c1043.tar.gz qemu-23cecc2717cec380ba5898d48969f0a5432c1043.tar.bz2 |
nios2: do not include exec-all.h from cpu.h
exec-all.h contains TCG-specific declarations, it should only be
includer from helper C files.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/nios2')
-rw-r--r-- | target/nios2/cpu.h | 1 | ||||
-rw-r--r-- | target/nios2/op_helper.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 145796e..047f376 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -260,7 +260,6 @@ static inline int cpu_interrupts_enabled(CPUNios2State *env) } #include "exec/cpu-all.h" -#include "exec/exec-all.h" static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc, target_ulong *cs_base, uint32_t *flags) diff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c index c853aea..529ec6a 100644 --- a/target/nios2/op_helper.c +++ b/target/nios2/op_helper.c @@ -22,6 +22,7 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" +#include "exec/exec-all.h" #include "qemu/main-loop.h" #if !defined(CONFIG_USER_ONLY) |