mirror of https://gitee.com/openkylin/qemu.git
translate-all: make have_tb_lock static
It is only used by this object, and it's not exported to any other. Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
eb5e2b9e3b
commit
13e1094735
|
@ -139,7 +139,7 @@ TCGContext tcg_ctx;
|
|||
bool parallel_cpus;
|
||||
|
||||
/* translation block context */
|
||||
__thread int have_tb_lock;
|
||||
static __thread int have_tb_lock;
|
||||
|
||||
static void page_table_config_init(void)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue