eCryptfs: Copy lower directory inode times and size on link
[linux/fpc-iii.git] / arch / um / include / shared / um_mmu.h
blobb1a7e47d10277689535add4b4027fe092655f2d0
1 /*
2 * Copyright (C) 2002 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
3 * Licensed under the GPL
4 */
6 #ifndef __ARCH_UM_MMU_H
7 #define __ARCH_UM_MMU_H
9 #include "mm_id.h"
10 #include "ldt.h"
12 typedef struct mm_context {
13 struct mm_id id;
14 struct uml_ldt ldt;
15 struct page **stub_pages;
16 } mm_context_t;
18 extern void __switch_mm(struct mm_id * mm_idp);
20 /* Avoid tangled inclusion with asm/ldt.h */
21 extern long init_new_ldt(struct mm_context *to_mm, struct mm_context *from_mm);
22 extern void free_ldt(struct mm_context *mm);
24 #endif