__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:
parent
3897293825
commit
dfd3f85c45
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user