diff options
Diffstat (limited to 'x86.h')
-rw-r--r-- | x86.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)); } |