diff options
author | Avi Kivity <avi@redhat.com> | 2009-07-29 10:54:46 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-07-29 10:54:46 +0300 |
commit | cefbe2c306a851c67ed0f89348aedf28f9e47e1a (patch) | |
tree | bd8ff0463ae5e538b9091e316e82581eb31de3f3 /qemu-lock.h | |
parent | Merge commit '5647eb7475d0278e1a2a9198d7e146936b9d84b1' into upstream-merge (diff) | |
parent | rename USE_NPTL to CONFIG_USE_NPTL (diff) | |
download | qemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.tar.gz qemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.tar.bz2 qemu-kvm-cefbe2c306a851c67ed0f89348aedf28f9e47e1a.zip |
Merge commit '2f7bb8780af4a007e90045b4cc97f558e956adf9' into upstream-merge
* commit '2f7bb8780af4a007e90045b4cc97f558e956adf9':
rename USE_NPTL to CONFIG_USE_NPTL
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
define ENOTSUP the same that the other errors
Conflicts:
create_config
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'qemu-lock.h')
-rw-r--r-- | qemu-lock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-lock.h b/qemu-lock.h index 029fae00c..bc8f91a18 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 |