OSDN Git Service

__thread should be before real type
authorJuan Quintela <quintela@redhat.com>
Tue, 22 Sep 2009 23:19:03 +0000 (01:19 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 25 Sep 2009 19:53:17 +0000 (19:53 +0000)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
linux-user/mmap.c

index 07ce051..144fb7c 100644 (file)
@@ -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)
 {