diff --git a/Kernel/arch/x86/lib.c b/Kernel/arch/x86/lib.c index f3f190d45e263cc06135b89db9d86cf126b94cbb..2fa1e5161aeb2492c7f4484cd0f76fd852850c0a 100644 --- a/Kernel/arch/x86/lib.c +++ b/Kernel/arch/x86/lib.c @@ -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)