aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/sys_sh.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-11-05 02:48:42 -0500
committerPaul Mundt <lethal@linux-sh.org>2006-12-05 20:45:37 -0500
commit710ee0cc45d095f7697821b330a3f8280205c2be (patch)
tree8bce794be73a6961d118d485c097232628812e94 /arch/sh/kernel/sys_sh.c
parentf36af3fd377081d3ac2ff6b63a60f8db8b3bf531 (diff)
sh: SE7206 build fixes.
A number of API changes happened underneath the 7206 patches, update for everything that broke. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/sys_sh.c')
-rw-r--r--arch/sh/kernel/sys_sh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/sys_sh.c b/arch/sh/kernel/sys_sh.c
index 8fde95001c34..07f2b5718938 100644
--- a/arch/sh/kernel/sys_sh.c
+++ b/arch/sh/kernel/sys_sh.c
@@ -50,6 +50,7 @@ unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */
50 50
51EXPORT_SYMBOL(shm_align_mask); 51EXPORT_SYMBOL(shm_align_mask);
52 52
53#ifdef CONFIG_MMU
53/* 54/*
54 * To avoid cache aliases, we map the shared page with same color. 55 * To avoid cache aliases, we map the shared page with same color.
55 */ 56 */
@@ -135,6 +136,7 @@ full_search:
135 addr = COLOUR_ALIGN(addr, pgoff); 136 addr = COLOUR_ALIGN(addr, pgoff);
136 } 137 }
137} 138}
139#endif /* CONFIG_MMU */
138 140
139static inline long 141static inline long
140do_mmap2(unsigned long addr, unsigned long len, unsigned long prot, 142do_mmap2(unsigned long addr, unsigned long len, unsigned long prot,