Skip to content
Snippets Groups Projects
Commit c1d59191 authored by John Hodge's avatar John Hodge
Browse files

Spinlock fixes

parent 18b26492
No related merge requests found
......@@ -85,7 +85,7 @@ void SHORTLOCK(struct sShortSpinlock *Lock)
: "=a"(v)
: "a"(0), "r"(cpu), "r"(&Lock->Lock)
);
#elseif STACKED_LOCKS == 2
#elif STACKED_LOCKS == 2
__ASM__("lock cmpxchgl %2, (%3)"
: "=a"(v)
: "a"(0), "r"(thread), "r"(&Lock->Lock)
......
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