MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / arch / um / include / um_mmu.h
blob3c5660ff97d7616f3af68d6064746e64134135ca
1 /*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL
4 */
6 #ifndef __ARCH_UM_MMU_H
7 #define __ARCH_UM_MMU_H
9 #include "linux/config.h"
10 #include "choose-mode.h"
12 #ifdef CONFIG_MODE_TT
13 #include "../kernel/tt/include/mmu.h"
14 #endif
16 #ifdef CONFIG_MODE_SKAS
17 #include "../kernel/skas/include/mmu.h"
18 #endif
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;
29 #endif
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: