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 | |
parent | 1a18c71b5037cff63a3e2c99debfcca0c6f7d09a (diff) |
no need for locks in system mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@433 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | exec-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exec-all.h b/exec-all.h index 9994acb7a7..7d0972e862 100644 --- a/exec-all.h +++ b/exec-all.h @@ -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)); |