Gennady Sharapov | 4abfbf4 | 2006-01-18 17:42:44 -0800 | [diff] [blame] | 1 | /* |
2 | * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) | ||||
3 | * Licensed under the GPL | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef __SKAS_MMU_H | ||||
7 | #define __SKAS_MMU_H | ||||
8 | |||||
9 | #include "linux/config.h" | ||||
10 | #include "mm_id.h" | ||||
11 | #include "asm/ldt.h" | ||||
12 | |||||
13 | struct mmu_context_skas { | ||||
14 | struct mm_id id; | ||||
15 | unsigned long last_page_table; | ||||
16 | #ifdef CONFIG_3_LEVEL_PGTABLES | ||||
17 | unsigned long last_pmd; | ||||
18 | #endif | ||||
19 | uml_ldt_t ldt; | ||||
20 | }; | ||||
21 | |||||
22 | extern void switch_mm_skas(struct mm_id * mm_idp); | ||||
23 | |||||
24 | #endif |