summaryrefslogtreecommitdiffstats
path: root/accel
diff options
context:
space:
mode:
authorEmilio G. Cota2017-07-07 03:28:52 +0200
committerRichard Henderson2017-10-10 16:37:10 +0200
commit13e10947358f889d175c42e3db6fef368faeb7e0 (patch)
treea3deab9a758b807a52bdf9c50dc1906f70a97406 /accel
parentexec-all: fix typos in TranslationBlock's documentation (diff)
downloadqemu-13e10947358f889d175c42e3db6fef368faeb7e0.tar.gz
qemu-13e10947358f889d175c42e3db6fef368faeb7e0.tar.xz
qemu-13e10947358f889d175c42e3db6fef368faeb7e0.zip
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>
Diffstat (limited to 'accel')
-rw-r--r--accel/tcg/translate-all.c2
1 files changed, 1 insertions, 1 deletions
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)
{