aboutsummaryrefslogtreecommitdiffstats
path: root/qemu-lock.h
diff options
context:
space:
mode:
authorDavid Turner <digit@android.com>2010-09-09 23:49:44 +0200
committerDavid 'Digit' Turner <digit@android.com>2010-09-13 00:30:34 -0700
commit3b290c31efd96e5474f2b55b7fe1ca0250a5bb47 (patch)
tree85926a92cab46a4c76f0c8630c43618ef3b1bb39 /qemu-lock.h
parente81106dda32dcf982eff8d080cc194faf9851172 (diff)
downloadexternal_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.zip
external_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.tar.gz
external_qemu-3b290c31efd96e5474f2b55b7fe1ca0250a5bb47.tar.bz2
upstream: minor updates.
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