aboutsummaryrefslogtreecommitdiff
path: root/include/asm-ia64/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-ia64/mmu.h')
-rw-r--r--include/asm-ia64/mmu.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-ia64/mmu.h b/include/asm-ia64/mmu.h
new file mode 100644
index 000000000000..ae1525352a25
--- /dev/null
+++ b/include/asm-ia64/mmu.h
@@ -0,0 +1,11 @@
+#ifndef __MMU_H
+#define __MMU_H
+
+/*
+ * Type for a context number. We declare it volatile to ensure proper ordering when it's
+ * accessed outside of spinlock'd critical sections (e.g., as done in activate_mm() and
+ * init_new_context()).
+ */
+typedef volatile unsigned long mm_context_t;
+
+#endif