[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 06/22] translate-all: make have_tb_lock static
From: |
Emilio G. Cota |
Subject: |
[Qemu-devel] [PATCH 06/22] translate-all: make have_tb_lock static |
Date: |
Sun, 9 Jul 2017 03:49:58 -0400 |
It is only used by this object, and it's not exported to any other.
Signed-off-by: Emilio G. Cota <address@hidden>
---
accel/tcg/translate-all.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c
index 72ce445..2fa9f65 100644
--- a/accel/tcg/translate-all.c
+++ b/accel/tcg/translate-all.c
@@ -133,7 +133,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)
{
--
2.7.4
- Re: [Qemu-devel] [PATCH 19/22] tcg: introduce tcg_context_clone, (continued)
[Qemu-devel] [PATCH 07/22] tcg/i386: constify tcg_target_callee_save_regs, Emilio G. Cota, 2017/07/09
[Qemu-devel] [PATCH 06/22] translate-all: make have_tb_lock static,
Emilio G. Cota <=
[Qemu-devel] [PATCH 08/22] tcg/mips: constify tcg_target_callee_save_regs, Emilio G. Cota, 2017/07/09
[Qemu-devel] [PATCH 02/22] translate-all: remove redundant !tcg_enabled check in dump_exec_info, Emilio G. Cota, 2017/07/09