projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4b2bb
)
sh: Move asid_cache() out of ifdef to fix SH-3/4 nommu build.
author
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jul 2008 09:39:25 +0000
(18:39 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jul 2008 09:39:25 +0000
(18:39 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/mmu_context.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-sh/mmu_context.h
b/include/asm-sh/mmu_context.h
index 87e812f68bb06d11c83b5ecca25b72d5cb35366b..8589a50febd0ff5166e63da243c78ffe54ed9c1f 100644
(file)
--- 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) \