Commit | Line | Data |
---|---|---|
1da177e4 LT |
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 | ||
7ef93905 | 9 | #include "linux/config.h" |
d67b569f | 10 | #include "mm_id.h" |
858259cf | 11 | #include "asm/ldt.h" |
d67b569f | 12 | |
1da177e4 | 13 | struct mmu_context_skas { |
d67b569f JD |
14 | struct mm_id id; |
15 | unsigned long last_page_table; | |
7ef93905 JD |
16 | #ifdef CONFIG_3_LEVEL_PGTABLES |
17 | unsigned long last_pmd; | |
18 | #endif | |
858259cf | 19 | uml_ldt_t ldt; |
1da177e4 LT |
20 | }; |
21 | ||
d67b569f JD |
22 | extern void switch_mm_skas(struct mm_id * mm_idp); |
23 | ||
1da177e4 LT |
24 | #endif |
25 | ||
26 | /* | |
27 | * Overrides for Emacs so that we follow Linus's tabbing style. | |
28 | * Emacs will notice this stuff at the end of the file and automatically | |
29 | * adjust the settings for this buffer only. This must remain at the end | |
30 | * of the file. | |
31 | * --------------------------------------------------------------------------- | |
32 | * Local variables: | |
33 | * c-file-style: "linux" | |
34 | * End: | |
35 | */ |