2 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
6 #ifndef __ARCH_UM_MMU_H
7 #define __ARCH_UM_MMU_H
9 #include "uml-config.h"
13 typedef struct mm_context
{
15 unsigned long last_page_table
;
16 #ifdef CONFIG_3_LEVEL_PGTABLES
17 unsigned long last_pmd
;
22 extern void __switch_mm(struct mm_id
* mm_idp
);
24 /* Avoid tangled inclusion with asm/ldt.h */
25 extern long init_new_ldt(struct mm_context
*to_mm
, struct mm_context
*from_mm
);
26 extern void free_ldt(struct mm_context
*mm
);