summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/proc_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/proc_reg.h b/i386/i386/proc_reg.h
index 64d8c43..84e9931 100644
--- a/i386/i386/proc_reg.h
+++ b/i386/i386/proc_reg.h
@@ -144,7 +144,7 @@ extern unsigned long cr3;
#define set_cr3(value) \
({ \
register unsigned int _temp__ = (value); \
- asm volatile("mov %0, %%cr3" : : "r" (_temp__)); \
+ asm volatile("mov %0, %%cr3" : : "r" (_temp__) : "memory"); \
})
#endif /* MACH_HYP */