diff options
author | Philippe Mathieu-Daudé | 2018-05-29 01:27:07 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-06-01 14:15:10 +0200 |
commit | 23c11b04dcc508536a7a39e723058523a94013a4 (patch) | |
tree | b6ff586e383723f03ea6de9a24390659fb1487a9 /target/lm32/cpu.c | |
parent | bsd-user: include "exec/exec-all.h" which provides mmap_lock/unlock" (diff) | |
download | qemu-23c11b04dcc508536a7a39e723058523a94013a4.tar.gz qemu-23c11b04dcc508536a7a39e723058523a94013a4.tar.xz qemu-23c11b04dcc508536a7a39e723058523a94013a4.zip |
target: Do not include "exec/exec-all.h" if it is not necessary
Code change produced with:
$ git grep '#include "exec/exec-all.h"' | \
cut -d: -f-1 | \
xargs egrep -L "(cpu_address_space_init|cpu_loop_|tlb_|tb_|GETPC|singlestep|TranslationBlock)" | \
xargs sed -i.bak '/#include "exec\/exec-all.h"/d'
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180528232719.4721-10-f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/lm32/cpu.c')
-rw-r--r-- | target/lm32/cpu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/lm32/cpu.c b/target/lm32/cpu.c index 0003152469..b7499cb627 100644 --- a/target/lm32/cpu.c +++ b/target/lm32/cpu.c @@ -22,7 +22,6 @@ #include "qapi/error.h" #include "cpu.h" #include "qemu-common.h" -#include "exec/exec-all.h" static void lm32_cpu_set_pc(CPUState *cs, vaddr value) |