From 2f7bb8780af4a007e90045b4cc97f558e956adf9 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Mon, 27 Jul 2009 16:13:24 +0200 Subject: rename USE_NPTL to CONFIG_USE_NPTL Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- bsd-user/mmap.c | 2 +- bsd-user/qemu.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'bsd-user') diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c index 26f981a..ff207cd 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 d411bbb..822a214 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 #endif -- cgit v1.1