From: Emilio G. Cota Date: Fri, 7 Jul 2017 01:28:52 +0000 (-0400) Subject: translate-all: make have_tb_lock static X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=13e10947358f889d175c42e3db6fef368faeb7e0;p=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 Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota Signed-off-by: Richard Henderson --- diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index b3bfe65059..a7c1d4e3f2 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -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) {