aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--init/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/log.c b/init/log.c
index 2df6d82..4fe748e 100644
--- a/init/log.c
+++ b/init/log.c
@@ -42,7 +42,7 @@ retry:
;
asm("mov %0, 1\n\t"
- "xchg %0, %1" : "=r" (rax) : "m" (console_lock));
+ "xchg %0, %1" : "=r" (rax), "=m" (console_lock));
if(rax)
goto retry;