From dfd3f85c45b079b10419069fc792e9bee5aada1c Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 23 Sep 2009 01:19:03 +0200 Subject: [PATCH] __thread should be before real type Signed-off-by: Juan Quintela Signed-off-by: Blue Swirl --- linux-user/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {