vserver 2.0 rc7
[linux-2.6.git] / arch / um / include / um_mmu.h
1 /* 
2  * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3  * Licensed under the GPL
4  */
5
6 #ifndef __ARCH_UM_MMU_H
7 #define __ARCH_UM_MMU_H
8
9 #include "uml-config.h"
10 #include "choose-mode.h"
11
12 #ifdef UML_CONFIG_MODE_TT
13 #include "mmu-tt.h"
14 #endif
15
16 #ifdef UML_CONFIG_MODE_SKAS
17 #include "mmu-skas.h"
18 #endif
19
20 typedef union mm_context {
21 #ifdef UML_CONFIG_MODE_TT
22         struct mmu_context_tt tt;
23 #endif
24 #ifdef UML_CONFIG_MODE_SKAS
25         struct mmu_context_skas skas;
26 #endif
27 } mm_context_t;
28
29 #endif
30
31 /*
32  * Overrides for Emacs so that we follow Linus's tabbing style.
33  * Emacs will notice this stuff at the end of the file and automatically
34  * adjust the settings for this buffer only.  This must remain at the end
35  * of the file.
36  * ---------------------------------------------------------------------------
37  * Local variables:
38  * c-file-style: "linux"
39  * End:
40  */