summaryrefslogtreecommitdiff
path: root/arch/microblaze/include/asm/mmu_context.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-05-26 18:30:14 +0400
committerMichal Simek <monstr@monstr.eu>2009-05-26 18:45:15 +0400
commitfc34d1eb1ca09d3450508e2cf9cf511364c2c460 (patch)
tree96c7b5ccd8ec0c4a541596ee8963a9ab9fab5903 /arch/microblaze/include/asm/mmu_context.h
parent5de96121009f4de43ffeb7160109e23132278c07 (diff)
downloadlinux-fc34d1eb1ca09d3450508e2cf9cf511364c2c460.tar.xz
microblaze_mmu_v2: Context handling - mmu_context.c/h
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/mmu_context.h')
-rw-r--r--arch/microblaze/include/asm/mmu_context.h26
1 files changed, 5 insertions, 21 deletions
diff --git a/arch/microblaze/include/asm/mmu_context.h b/arch/microblaze/include/asm/mmu_context.h
index 150ca01b74ba..385fed16bbfb 100644
--- a/arch/microblaze/include/asm/mmu_context.h
+++ b/arch/microblaze/include/asm/mmu_context.h
@@ -1,21 +1,5 @@
-/*
- * Copyright (C) 2006 Atmark Techno, Inc.
- *
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- */
-
-#ifndef _ASM_MICROBLAZE_MMU_CONTEXT_H
-#define _ASM_MICROBLAZE_MMU_CONTEXT_H
-
-# define init_new_context(tsk, mm) ({ 0; })
-
-# define enter_lazy_tlb(mm, tsk) do {} while (0)
-# define change_mm_context(old, ctx, _pml4) do {} while (0)
-# define destroy_context(mm) do {} while (0)
-# define deactivate_mm(tsk, mm) do {} while (0)
-# define switch_mm(prev, next, tsk) do {} while (0)
-# define activate_mm(prev, next) do {} while (0)
-
-#endif /* _ASM_MICROBLAZE_MMU_CONTEXT_H */
+#ifdef CONFIG_MMU
+# include "mmu_context_mm.h"
+#else
+# include "mmu_context_no.h"
+#endif