]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/um/include/asm/mmu.h
Merge branch 'fixes-modulesplit' into fixes
[karo-tx-linux.git] / arch / um / include / asm / mmu.h
index cf259de5153160be38b8d2073d0fe111e05a4f4c..30509b9f37fdc3a348c175b548af9c7f19b47362 100644 (file)
@@ -1,12 +1,24 @@
 /* 
- * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
+ * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
  * Licensed under the GPL
  */
 
-#ifndef __MMU_H
-#define __MMU_H
+#ifndef __ARCH_UM_MMU_H
+#define __ARCH_UM_MMU_H
 
-#include "um_mmu.h"
+#include "mm_id.h"
+#include <asm/mm_context.h>
 
-#endif
+typedef struct mm_context {
+       struct mm_id id;
+       struct uml_arch_mm_context arch;
+       struct page **stub_pages;
+} mm_context_t;
+
+extern void __switch_mm(struct mm_id * mm_idp);
 
+/* Avoid tangled inclusion with asm/ldt.h */
+extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
+extern void free_ldt(struct mm_context *mm);
+
+#endif