summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-23 01:19:03 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-25 19:53:17 +0000
commitdfd3f85c45b079b10419069fc792e9bee5aada1c (patch)
tree2b195d0a02a64ff13ee8a11e065b6a73b74ecd20 /linux-user
parentgcc wants 1st static and then const (diff)
downloadqemu-kvm-dfd3f85c45b079b10419069fc792e9bee5aada1c.tar.gz
qemu-kvm-dfd3f85c45b079b10419069fc792e9bee5aada1c.tar.bz2
qemu-kvm-dfd3f85c45b079b10419069fc792e9bee5aada1c.zip
__thread should be before real type
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 07ce05157..144fb7cbc 100644
--- a/linux-user/mmap.c
+++ b/linux-user/mmap.c
@@ -35,7 +35,7 @@
#if defined(CONFIG_USE_NPTL)
static pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER;
-static int __thread mmap_lock_count;
+static __thread int mmap_lock_count;
void mmap_lock(void)
{