diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-30 01:08:17 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2003-10-30 01:08:17 +0000 |
commit | aebcb60e55587a675aa0a3023e60c827e19f73f2 (patch) | |
tree | 6917509a4569f5a3910a1521711c05273529b518 /exec-all.h | |
parent | 1a18c71b5037cff63a3e2c99debfcca0c6f7d09a (diff) | |
download | hqemu-aebcb60e55587a675aa0a3023e60c827e19f73f2.zip hqemu-aebcb60e55587a675aa0a3023e60c827e19f73f2.tar.gz |
no need for locks in system mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@433 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec-all.h')
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -384,7 +384,7 @@ typedef int spinlock_t; #define SPIN_LOCK_UNLOCKED 0 -#if 1 +#if defined(CONFIG_USER_ONLY) static inline void spin_lock(spinlock_t *lock) { while (testandset(lock)); |