git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sh: rework nommu for generic cache.c use.
[pandora-kernel.git]
/
arch
/
sh
/
kernel
/
cpu
/
init.c
diff --git
a/arch/sh/kernel/cpu/init.c
b/arch/sh/kernel/cpu/init.c
index
ad85421
..
c832fa4
100644
(file)
--- a/
arch/sh/kernel/cpu/init.c
+++ b/
arch/sh/kernel/cpu/init.c
@@
-268,11
+268,9
@@
asmlinkage void __init sh_cpu_init(void)
cache_init();
if (raw_smp_processor_id() == 0) {
-#ifdef CONFIG_MMU
shm_align_mask = max_t(unsigned long,
current_cpu_data.dcache.way_size - 1,
PAGE_SIZE - 1);
-#endif
/* Boot CPU sets the cache shape */
detect_cache_shape();