summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/syscall.c
diff options
context:
space:
mode:
authorRalf Baechle2005-03-08 15:39:39 +0100
committerRalf Baechle2005-10-29 20:30:54 +0200
commit9ff77c469ed16221c6a4e882e48e4f0dcf451bda (patch)
treed4d9e38471665c1521360032e3c8912e99d8ed0d /arch/mips/kernel/syscall.c
parentPut salone.o back into arclib. It's a lib so doesn't harm if unused atm. (diff)
downloadkernel-qcow2-linux-9ff77c469ed16221c6a4e882e48e4f0dcf451bda.tar.gz
kernel-qcow2-linux-9ff77c469ed16221c6a4e882e48e4f0dcf451bda.tar.xz
kernel-qcow2-linux-9ff77c469ed16221c6a4e882e48e4f0dcf451bda.zip
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.c3
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 @@
#include <linux/msg.h>
#include <linux/shm.h>
#include <linux/compiler.h>
+#include <linux/module.h>
#include <asm/branch.h>
#include <asm/cachectl.h>
@@ -56,6 +57,8 @@ out:
unsigned long shm_align_mask = PAGE_SIZE - 1; /* Sane caches */
+EXPORT_SYMBOL(shm_align_mask);
+
#define COLOUR_ALIGN(addr,pgoff) \
((((addr) + shm_align_mask) & ~shm_align_mask) + \
(((pgoff) << PAGE_SHIFT) & shm_align_mask))