From: Juan Quintela Date: Tue, 22 Sep 2009 23:19:03 +0000 (+0200) Subject: __thread should be before real type X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=dfd3f85c45b079b10419069fc792e9bee5aada1c;p=qemu.git __thread should be before real type Signed-off-by: Juan Quintela Signed-off-by: Blue Swirl --- diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 07ce051576..144fb7cbcf 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) {