Commit aebcb60e authored by bellard's avatar bellard
Browse files

no need for locks in system mode

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 1a18c71b
......@@ -384,7 +384,7 @@ typedef int spinlock_t;
#if 1
#if defined(CONFIG_USER_ONLY)
static inline void spin_lock(spinlock_t *lock)
while (testandset(lock));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment