1 files changed, 1 insertions, 2 deletions
diff --git a/x86.h b/x86.h index e754b28..fcd3062 100644 --- a/ x86.h+++ b/ x86.h@@ -104,9 +104,8 @@ xchg(volatile uint *addr, uint newval) } static inline void -loadfsgs(ushort v) +loadgs(ushort v) { - asm volatile("movw %0, %%fs" : : "r" (v)); asm volatile("movw %0, %%gs" : : "r" (v)); } |