aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sh/page.h
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 05:36:17 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 05:36:17 -0400
commitf3c2575818fab45f8609e4aef2e43ab02b3a142e (patch)
treea4924d7dd8f8df229e36fab24ccccfe12437509b /include/asm-sh/page.h
parent87b0ef91b6f27c07bf7dcce8584437481f473092 (diff)
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>
Diffstat (limited to 'include/asm-sh/page.h')
-rw-r--r--include/asm-sh/page.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/page.h b/include/asm-sh/page.h
index 3d8dae31a6f6..ca8b26d90475 100644
--- a/include/asm-sh/page.h
+++ b/include/asm-sh/page.h
@@ -44,6 +44,8 @@
44extern void (*clear_page)(void *to); 44extern void (*clear_page)(void *to);
45extern void (*copy_page)(void *to, void *from); 45extern void (*copy_page)(void *to, void *from);
46 46
47extern unsigned long shm_align_mask;
48
47#ifdef CONFIG_MMU 49#ifdef CONFIG_MMU
48extern void clear_page_slow(void *to); 50extern void clear_page_slow(void *to);
49extern void copy_page_slow(void *to, void *from); 51extern void copy_page_slow(void *to, void *from);