aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:13:24 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:10:55 -0500
commit2f7bb8780af4a007e90045b4cc97f558e956adf9 (patch)
tree464d805fa93ac6fdad7b41978c2a67183e2a1f15 /linux-user/qemu.h
parentrename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH (diff)
downloadqemu-kvm-2f7bb8780af4a007e90045b4cc97f558e956adf9.tar.gz
qemu-kvm-2f7bb8780af4a007e90045b4cc97f558e956adf9.tar.bz2
qemu-kvm-2f7bb8780af4a007e90045b4cc97f558e956adf9.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 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 8e728a3d2..f0e410b26 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -20,7 +20,7 @@
#include "gdbstub.h"
#include "sys-queue.h"
-#if defined(USE_NPTL)
+#if defined(CONFIG_USE_NPTL)
#define THREAD __thread
#else
#define THREAD
@@ -104,7 +104,7 @@ typedef struct TaskState {
uint32_t v86flags;
uint32_t v86mask;
#endif
-#ifdef USE_NPTL
+#ifdef CONFIG_USE_NPTL
abi_ulong child_tidptr;
#endif
#ifdef TARGET_M68K
@@ -244,7 +244,7 @@ void mmap_unlock(void);
abi_ulong mmap_find_vma(abi_ulong, abi_ulong);
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
@@ -441,7 +441,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