diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2011-01-31 18:26:40 +0000 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-02-20 15:20:06 +0100 |
commit | 02615337ef295443daa03233e492194e289a807e (patch) | |
tree | d5371767bd220b03d2cd3d6f7aba5bfb0c366850 /target-alpha | |
parent | 322fd48afbed1ef7b834ac343a0c8687bcb33695 (diff) |
qemu-lock.h: Remove non-pthreads spinlock implementations
Since configure guarantees us that we have pthreads on all hosts
except mingw (which doesn't support a USER_ONLY config), we can
and should use the pthread_mutex based implementation of spin_lock()
and spin_unlock() in all USER_ONLY cases. This means that all the
inline-native-assembly code supporting the "USER_ONLY but not USE_NPTL"
case can go away.
The not-USER_ONLY case remains as empty implementations; there is
no change in behaviour here.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-alpha')
0 files changed, 0 insertions, 0 deletions