__thread should be before real type

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Juan Quintela 2009-09-23 01:19:03 +02:00 committed by Blue Swirl
parent 3897293825
commit dfd3f85c45
1 changed files with 1 additions and 1 deletions

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