aboutsummaryrefslogtreecommitdiff
path: root/qemu-lock.h
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 /qemu-lock.h
parent75b5a697ed5dbfd9bef2eeddf82032ecfeb169f8 (diff)
downloadqemu-2f7bb8780af4a007e90045b4cc97f558e956adf9.zip
qemu-2f7bb8780af4a007e90045b4cc97f558e956adf9.tar.gz
qemu-2f7bb8780af4a007e90045b4cc97f558e956adf9.tar.bz2
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 'qemu-lock.h')
-rw-r--r--qemu-lock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-lock.h b/qemu-lock.h
index 49e2203..9a3e6ac 100644
--- a/qemu-lock.h
+++ b/qemu-lock.h
@@ -23,7 +23,7 @@
likely to release it soon. In environments where you have more threads
than physical CPUs (the extreme case being a single CPU host) a spinlock
simply wastes CPU until the OS decides to preempt it. */
-#if defined(USE_NPTL)
+#if defined(CONFIG_USE_NPTL)
#include <pthread.h>
#define spin_lock pthread_mutex_lock