summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/kernel/mips_ksyms.c8
-rw-r--r--arch/mips64/kernel/mips64_ksyms.c8
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/mips/kernel/mips_ksyms.c b/arch/mips/kernel/mips_ksyms.c
index b8e1e6ec2..bfd75f6c8 100644
--- a/arch/mips/kernel/mips_ksyms.c
+++ b/arch/mips/kernel/mips_ksyms.c
@@ -23,6 +23,7 @@
#include <asm/io.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
+#include <asm/semaphore.h>
#include <asm/sgi/sgihpc.h>
#include <asm/softirq.h>
#include <asm/uaccess.h>
@@ -87,6 +88,13 @@ EXPORT_SYMBOL(_dma_cache_inv);
EXPORT_SYMBOL(invalid_pte_table);
/*
+ * Semaphore stuff
+ */
+EXPORT_SYMBOL(__down_read);
+EXPORT_SYMBOL(__down_write);
+EXPORT_SYMBOL(__rwsem_wake);
+
+/*
* Base address of ports for Intel style I/O.
*/
EXPORT_SYMBOL(mips_io_port_base);
diff --git a/arch/mips64/kernel/mips64_ksyms.c b/arch/mips64/kernel/mips64_ksyms.c
index e74eb781a..5b77f3050 100644
--- a/arch/mips64/kernel/mips64_ksyms.c
+++ b/arch/mips64/kernel/mips64_ksyms.c
@@ -24,6 +24,7 @@
#include <asm/io.h>
#include <asm/page.h>
#include <asm/pgalloc.h>
+#include <asm/semaphore.h>
#include <asm/softirq.h>
#include <asm/uaccess.h>
@@ -89,6 +90,13 @@ EXPORT_SYMBOL(_dma_cache_inv);
EXPORT_SYMBOL(invalid_pte_table);
/*
+ * Semaphore stuff
+ */
+EXPORT_SYMBOL(__down_read);
+EXPORT_SYMBOL(__down_write);
+EXPORT_SYMBOL(__rwsem_wake);
+
+/*
* Base address of ports for Intel style I/O.
*/
EXPORT_SYMBOL(mips_io_port_base);