From aebcb60e55587a675aa0a3023e60c827e19f73f2 Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 30 Oct 2003 01:08:17 +0000 Subject: no need for locks in system mode git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@433 c046a42c-6fe2-441c-8c8c-71466251a162 --- exec-all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exec-all.h') 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)); -- cgit v1.2.1