patch-2.4.20 linux-2.4.20/include/asm-x86_64/mmu.h

Next file: linux-2.4.20/include/asm-x86_64/mmu_context.h
Previous file: linux-2.4.20/include/asm-x86_64/mman.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/include/asm-x86_64/mmu.h linux-2.4.20/include/asm-x86_64/mmu.h
@@ -0,0 +1,16 @@
+#ifndef __x86_64_MMU_H
+#define __x86_64_MMU_H
+
+#include <linux/spinlock.h>
+
+/*
+ * The x86_64 doesn't have a mmu context, but
+ * we put the segment information here.
+ */
+typedef struct { 
+	void *segments;
+	unsigned long cpuvalid;
+	rwlock_t ldtlock;
+} mm_context_t;
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)