]> git.proxmox.com Git - mirror_qemu.git/commitdiff
translate-all: make have_tb_lock static
authorEmilio G. Cota <cota@braap.org>
Fri, 7 Jul 2017 01:28:52 +0000 (21:28 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 10 Oct 2017 14:37:10 +0000 (07:37 -0700)
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>
accel/tcg/translate-all.c

index b3bfe6505973025ff26a6ee27ac8b86f57967200..a7c1d4e3f2da52a8b78b46f633de1dc3700086da 100644 (file)
@@ -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)
 {