projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add static (spotted by sparse)
[qemu]
/
target-sparc
/
helper.c
diff --git
a/target-sparc/helper.c
b/target-sparc/helper.c
index
6aca8fd
..
f222e3a
100644
(file)
--- a/
target-sparc/helper.c
+++ b/
target-sparc/helper.c
@@
-38,7
+38,7
@@
static int cpu_sparc_find_by_name(sparc_def_t *cpu_def, const char *cpu_model);
/* thread support */
-spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
+static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED;
void cpu_lock(void)
{