sh: Calculate shm alignment at runtime.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:36:17 +0000 (18:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 27 Sep 2006 09:36:17 +0000 (18:36 +0900)
commitf3c2575818fab45f8609e4aef2e43ab02b3a142e
treea4924d7dd8f8df229e36fab24ccccfe12437509b
parent87b0ef91b6f27c07bf7dcce8584437481f473092
sh: Calculate shm alignment at runtime.

Set the SHM alignment at runtime, based off of probed cache desc.
Optimize get_unmapped_area() to only colour align shared mappings.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/init.c
arch/sh/kernel/sys_sh.c
include/asm-sh/cacheflush.h
include/asm-sh/cpu-sh3/cacheflush.h
include/asm-sh/cpu-sh4/cacheflush.h
include/asm-sh/page.h
include/asm-sh/pgtable.h