diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index b3bfe6505973025ff26a6ee27ac8b86f57967200..a7c1d4e3f2da52a8b78b46f633de1dc3700086da 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) {