accel/tcg: Restrict tb_gen_code() from other accelerators
commitc03f041f128301c6a6c32242846be08719cd4fc3
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 21 Jan 2021 06:15:06 +0000 (20 20:15 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 23 Jan 2021 22:12:59 +0000 (23 12:12 -1000)
tree8c9e6e4a669bfb7dfd9c874c3439e93a0d87f29b
parent0f4abea8efa658ea53600739a8912969736b2d4a
accel/tcg: Restrict tb_gen_code() from other accelerators

tb_gen_code() is only called within TCG accelerator, declare it locally.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210117164813.4101761-4-f4bug@amsat.org>
[rth: Adjust vs changed tb_flush_jmp_cache patch.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
accel/tcg/cpu-exec.c
accel/tcg/internal.h [new file with mode: 0644]
accel/tcg/translate-all.c
include/exec/exec-all.h