summaryrefslogtreecommitdiffstats
path: root/include/asm-m32r/mmu_context.h
diff options
context:
space:
mode:
authorHirokazu Takata <takata@linux-m32r.org>2007-02-10 01:43:40 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 10:51:20 -0800
commitfabb626ad6a3744b9f0eaae215a2418d521c1e14 (patch)
tree9779db4be185ae054ae0753d79e1fae602726f9c /include/asm-m32r/mmu_context.h
parent3d60f849341ac00e3dc47a3af94aaf9ba46d00fb (diff)
downloadop-kernel-dev-fabb626ad6a3744b9f0eaae215a2418d521c1e14.zip
op-kernel-dev-fabb626ad6a3744b9f0eaae215a2418d521c1e14.tar.gz
[PATCH] m32r: cosmetic updates and trivial fixes
Cosmetic updates and trivial fixes of m32r arch-dependent files. - Remove RCS ID strings and trailing white lines - Other misc. cosmetic updates Signed-off-by: Hirokazu Takata <takata@linux-m32r.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m32r/mmu_context.h')
-rw-r--r--include/asm-m32r/mmu_context.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/asm-m32r/mmu_context.h b/include/asm-m32r/mmu_context.h
index 542302e..1f40d4a 100644
--- a/include/asm-m32r/mmu_context.h
+++ b/include/asm-m32r/mmu_context.h
@@ -1,9 +1,7 @@
#ifndef _ASM_M32R_MMU_CONTEXT_H
#define _ASM_M32R_MMU_CONTEXT_H
-
#ifdef __KERNEL__
-
#include <asm/m32r.h>
#define MMU_CONTEXT_ASID_MASK (0x000000FF)
@@ -11,7 +9,6 @@
#define MMU_CONTEXT_FIRST_VERSION (0x00000100)
#define NO_CONTEXT (0x00000000)
-
#ifndef __ASSEMBLY__
#include <asm/atomic.h>
@@ -147,7 +144,7 @@ static inline void switch_mm(struct mm_struct *prev,
#define activate_mm(prev, next) \
switch_mm((prev), (next), NULL)
-#else
+#else /* not CONFIG_MMU */
#define get_mmu_context(mm) do { } while (0)
#define init_new_context(tsk,mm) (0)
#define destroy_context(mm) do { } while (0)
@@ -158,11 +155,9 @@ static inline void switch_mm(struct mm_struct *prev,
#define deactivate_mm(mm,tsk) do { } while (0)
#define activate_mm(prev,next) do { } while (0)
#define enter_lazy_tlb(mm,tsk) do { } while (0)
-#endif /* CONFIG_MMU */
-
+#endif /* not CONFIG_MMU */
#endif /* not __ASSEMBLY__ */
#endif /* __KERNEL__ */
-
#endif /* _ASM_M32R_MMU_CONTEXT_H */
OpenPOWER on IntegriCloud