]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Export shm_align_mask and flush_data_cache_page.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 8 Mar 2005 14:39:39 +0000 (14:39 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 29 Oct 2005 18:30:54 +0000 (19:30 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/syscall.c
arch/mips/mm/cache.c

index 21e3e13a4b4466386636a8fa571e18ed5495eabb..8fde242596f9f01a27f61bbb8ed8f217b0679fa0 100644 (file)
@@ -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))
index c0ac4f97e1ae9ee79e3c1bd12c227dbcd3b8e9b6..fe0110074902dea0c03f3cd20d36208b62d0042d 100644 (file)
@@ -33,6 +33,8 @@ void (*flush_cache_sigtramp)(unsigned long addr);
 void (*flush_data_cache_page)(unsigned long addr);
 void (*flush_icache_all)(void);
 
+EXPORT_SYMBOL(flush_data_cache_page);
+
 #ifdef CONFIG_DMA_NONCOHERENT
 
 /* DMA cache operations. */