diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2005-03-08 09:39:39 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:30:54 -0400 |
commit | 9ff77c469ed16221c6a4e882e48e4f0dcf451bda (patch) | |
tree | d4d9e38471665c1521360032e3c8912e99d8ed0d /arch/mips/kernel/syscall.c | |
parent | 07b4ebd372139eb64a2898f17f2cc387b22feba8 (diff) |
Export shm_align_mask and flush_data_cache_page.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r-- | arch/mips/kernel/syscall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 21e3e13a4b44..8fde242596f9 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/msg.h> | 26 | #include <linux/msg.h> |
27 | #include <linux/shm.h> | 27 | #include <linux/shm.h> |
28 | #include <linux/compiler.h> | 28 | #include <linux/compiler.h> |
29 | #include <linux/module.h> | ||
29 | 30 | ||
30 | #include <asm/branch.h> | 31 | #include <asm/branch.h> |
31 | #include <asm/cachectl.h> | 32 | #include <asm/cachectl.h> |
@@ -56,6 +57,8 @@ out: | |||
56 | 57 | ||
57 | unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ | 58 | unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */ |
58 | 59 | ||
60 | EXPORT_SYMBOL(shm_align_mask); | ||
61 | |||
59 | #define COLOUR_ALIGN(addr,pgoff) \ | 62 | #define COLOUR_ALIGN(addr,pgoff) \ |
60 | ((((addr) + shm_align_mask) & ~shm_align_mask) + \ | 63 | ((((addr) + shm_align_mask) & ~shm_align_mask) + \ |
61 | (((pgoff) << PAGE_SHIFT) & shm_align_mask)) | 64 | (((pgoff) << PAGE_SHIFT) & shm_align_mask)) |