aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/um_mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/um_mmu.h')
-rw-r--r--arch/um/include/um_mmu.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/um/include/um_mmu.h b/arch/um/include/um_mmu.h
new file mode 100644
index 000000000000..0fa643238300
--- /dev/null
+++ b/arch/um/include/um_mmu.h
@@ -0,0 +1,40 @@
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
20typedef 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 */