aboutsummaryrefslogtreecommitdiff
path: root/target-i386/op_helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-i386/op_helper.c')
-rw-r--r--target-i386/op_helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/op_helper.c b/target-i386/op_helper.c
index ebb5824544..d0919d95ff 100644
--- a/target-i386/op_helper.c
+++ b/target-i386/op_helper.c
@@ -96,7 +96,7 @@ const CPU86_LDouble f15rk[7] =
/* broken thread support */
-spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
void helper_lock(void)
{