qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 5/7] __thread should be before real type


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 5/7] __thread should be before real type
Date: Wed, 23 Sep 2009 01:19:03 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 linux-user/mmap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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)
 {
-- 
1.6.2.5





reply via email to

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