diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 05:36:17 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 05:36:17 -0400 |
commit | f3c2575818fab45f8609e4aef2e43ab02b3a142e (patch) | |
tree | a4924d7dd8f8df229e36fab24ccccfe12437509b /include/asm-sh/cacheflush.h | |
parent | 87b0ef91b6f27c07bf7dcce8584437481f473092 (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/cacheflush.h')
-rw-r--r-- | include/asm-sh/cacheflush.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sh/cacheflush.h b/include/asm-sh/cacheflush.h index 92930b4a40d4..07f62ec9ff0c 100644 --- a/include/asm-sh/cacheflush.h +++ b/include/asm-sh/cacheflush.h | |||
@@ -28,5 +28,7 @@ extern void __flush_invalidate_region(void *start, int size); | |||
28 | memcpy(dst, src, len); \ | 28 | memcpy(dst, src, len); \ |
29 | } while (0) | 29 | } while (0) |
30 | 30 | ||
31 | #define HAVE_ARCH_UNMAPPED_AREA | ||
32 | |||
31 | #endif /* __KERNEL__ */ | 33 | #endif /* __KERNEL__ */ |
32 | #endif /* __ASM_SH_CACHEFLUSH_H */ | 34 | #endif /* __ASM_SH_CACHEFLUSH_H */ |