diff options
author | Juan Quintela <quintela@redhat.com> | 2009-07-27 16:13:24 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-27 14:10:55 -0500 |
commit | 800ad530e679429c8de95e87972ddac749521199 (patch) | |
tree | 464d805fa93ac6fdad7b41978c2a67183e2a1f15 /bsd-user | |
parent | 7d4679776242e8347c055dbf5cb6fa3af21321a8 (diff) | |
download | qemu-800ad530e679429c8de95e87972ddac749521199.tar.gz qemu-800ad530e679429c8de95e87972ddac749521199.tar.bz2 qemu-800ad530e679429c8de95e87972ddac749521199.zip |
rename USE_NPTL to CONFIG_USE_NPTL
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'bsd-user')
-rw-r--r-- | bsd-user/mmap.c | 2 | ||||
-rw-r--r-- | bsd-user/qemu.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c index 26f981ab2c..ff207cd55d 100644 --- a/bsd-user/mmap.c +++ b/bsd-user/mmap.c @@ -30,7 +30,7 @@ //#define DEBUG_MMAP -#if defined(USE_NPTL) +#if defined(CONFIG_USE_NPTL) pthread_mutex_t mmap_mutex; static int __thread mmap_lock_count; diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index d411bbbf4c..822a214451 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -24,7 +24,7 @@ enum BSDType { #include "target_signal.h" #include "gdbstub.h" -#if defined(USE_NPTL) +#if defined(CONFIG_USE_NPTL) #define THREAD __thread #else #define THREAD @@ -188,7 +188,7 @@ void mmap_lock(void); void mmap_unlock(void); void cpu_list_lock(void); void cpu_list_unlock(void); -#if defined(USE_NPTL) +#if defined(CONFIG_USE_NPTL) void mmap_fork_start(void); void mmap_fork_end(int child); #endif @@ -382,7 +382,7 @@ static inline void *lock_user_string(abi_ulong guest_addr) #define unlock_user_struct(host_ptr, guest_addr, copy) \ unlock_user(host_ptr, guest_addr, (copy) ? sizeof(*host_ptr) : 0) -#if defined(USE_NPTL) +#if defined(CONFIG_USE_NPTL) #include <pthread.h> #endif |