diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-11-11 23:17:38 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:49 -0500 |
commit | 4a4a9be3ebdbf17957d29e3521f328a1145f9431 (patch) | |
tree | 274a36403bd64a7e15a4f17408ef97a9d0bc6c18 /arch/sh/kernel/cpu | |
parent | 3d44cc3e01ee1b40317f79ed54324e25c4f848df (diff) |
sh: Move arch_get_unmapped_area() in to arch/sh/mm/mmap.c.
Now that arch/sh/mm/mmap.c exists, move arch_get_unmapped_area() there.
Follows the ARM change.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/init.c b/arch/sh/kernel/cpu/init.c index 75fb03d35670..d29e69c156f0 100644 --- a/arch/sh/kernel/cpu/init.c +++ b/arch/sh/kernel/cpu/init.c | |||
@@ -261,9 +261,11 @@ asmlinkage void __init sh_cpu_init(void) | |||
261 | cache_init(); | 261 | cache_init(); |
262 | 262 | ||
263 | if (raw_smp_processor_id() == 0) { | 263 | if (raw_smp_processor_id() == 0) { |
264 | #ifdef CONFIG_MMU | ||
264 | shm_align_mask = max_t(unsigned long, | 265 | shm_align_mask = max_t(unsigned long, |
265 | current_cpu_data.dcache.way_size - 1, | 266 | current_cpu_data.dcache.way_size - 1, |
266 | PAGE_SIZE - 1); | 267 | PAGE_SIZE - 1); |
268 | #endif | ||
267 | 269 | ||
268 | /* Boot CPU sets the cache shape */ | 270 | /* Boot CPU sets the cache shape */ |
269 | detect_cache_shape(); | 271 | detect_cache_shape(); |