Commit 797d5db002ad4c16b957bae3192e3d819c5c792b
1 parent
c55bda30
Add static (spotted by sparse)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5439 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-sparc/helper.c
@@ -38,7 +38,7 @@ static int cpu_sparc_find_by_name(sparc_def_t *cpu_def, const char *cpu_model); | @@ -38,7 +38,7 @@ static int cpu_sparc_find_by_name(sparc_def_t *cpu_def, const char *cpu_model); | ||
38 | 38 | ||
39 | /* thread support */ | 39 | /* thread support */ |
40 | 40 | ||
41 | -spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED; | 41 | +static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED; |
42 | 42 | ||
43 | void cpu_lock(void) | 43 | void cpu_lock(void) |
44 | { | 44 | { |