qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT dfd3f85] __thread should be before real type


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT dfd3f85] __thread should be before real type
Date: Fri, 25 Sep 2009 19:59:44 -0000

From: Juan Quintela <address@hidden>

Signed-off-by: Juan Quintela <address@hidden>
Signed-off-by: Blue Swirl <address@hidden>

diff --git a/linux-user/mmap.c b/linux-user/mmap.c
index 07ce051..144fb7c 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)
 {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]