summaryrefslogtreecommitdiff
path: root/x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'x86.h')
-rw-r--r--x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/x86.h b/x86.h
index 3949900..07312a5 100644
--- a/x86.h
+++ b/x86.h
@@ -121,7 +121,7 @@ static inline uint
xchg(volatile uint *addr, uint newval)
{
uint result;
-
+
// The + in "+m" denotes a read-modify-write operand.
asm volatile("lock; xchgl %0, %1" :
"+m" (*addr), "=a" (result) :
@@ -139,7 +139,7 @@ rcr2(void)
}
static inline void
-lcr3(uint val)
+lcr3(uint val)
{
asm volatile("movl %0,%%cr3" : : "r" (val));
}