summaryrefslogtreecommitdiff
path: root/i386/i386/tss.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/tss.h')
-rw-r--r--i386/i386/tss.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/tss.h b/i386/i386/tss.h
index ee0d612..ff25f21 100644
--- a/i386/i386/tss.h
+++ b/i386/i386/tss.h
@@ -83,7 +83,7 @@ struct task_tss
MACH_INLINE void
ltr(unsigned short segment)
{
- __asm volatile("ltr %0" : : "r" (segment));
+ __asm volatile("ltr %0" : : "r" (segment) : "memory");
}
#endif /* _I386_TSS_H_ */