ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.6.tar.bz2
[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 "linux/config.h"
10 #include "choose-mode.h"
11
12 #ifdef CONFIG_MODE_TT
13 #include "../kernel/tt/include/mmu.h"
14 #endif
15
16 #ifdef CONFIG_MODE_SKAS
17 #include "../kernel/skas/include/mmu.h"
18 #endif
19
20 typedef union {
21 #ifdef CONFIG_MODE_TT
22         struct mmu_context_tt tt;
23 #endif
24 #ifdef 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  */