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:
Emilio G. Cota 2017-07-06 21:28:52 -04:00 committed by Richard Henderson
parent eb5e2b9e3b
commit 13e1094735
1 changed files with 1 additions and 1 deletions

View 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)
{