]> git.proxmox.com Git - mirror_qemu.git/commit - plugins/plugin.h
accel/tcg: Reduce 'exec/tb-context.h' inclusion
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 24 May 2021 17:04:52 +0000 (19:04 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 26 May 2021 22:31:45 +0000 (15:31 -0700)
commit824f4bac9ffa2757293290c7edd065dc84a6521e
tree9492443da7cff04ea463e458dd8db77121d64461
parent4121f4b38e976641ee66ad52567f6f178a8f2048
accel/tcg: Reduce 'exec/tb-context.h' inclusion

Only 2 headers require "exec/tb-context.h". Instead of having
all files including "exec/exec-all.h" also including it, directly
include it where it is required:
- accel/tcg/cpu-exec.c
- accel/tcg/translate-all.c

For plugins/plugin.h, we were implicitly relying on
  exec/exec-all.h -> exec/tb-context.h -> qemu/qht.h
which is now included directly.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210524170453.3791436-2-f4bug@amsat.org>
[rth: Fix plugins/plugin.h compilation]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/translate-all.c
include/exec/exec-all.h
include/tcg/tcg.h
plugins/plugin.h