Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=761656...
Commit: 761656e6beecb38c723f207d7408c753d3103ba8
Parent: 2b4b2bb42137c779ef0084de5df66ff21b4cd86e
Author: Paul Mundt <lethal@linux-sh.org>
AuthorDate: Mon Jul 28 18:39:25 2008 +0900
Committer: Paul Mundt <lethal@linux-sh.org>
CommitDate: Mon Jul 28 18:39:25 2008 +0900
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
include/asm-sh/mmu_context.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/asm-sh/mmu_context.h b/include/asm-sh/mmu_context.h
index 87e812f..8589a50 100644
--- a/include/asm-sh/mmu_context.h
+++ b/include/asm-sh/mmu_context.h
@@ -27,8 +27,9 @@
/* ASID is 8-bit value, so it can't be 0x100 */
#define MMU_NO_ASID 0x100
-#ifdef CONFIG_MMU
#define asid_cache(cpu) (cpu_data[cpu].asid_cache)
+
+#ifdef CONFIG_MMU
#define cpu_context(cpu, mm) ((mm)->context.id[cpu])
#define cpu_asid(cpu, mm) \
--