aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/sparc/kernel/sparc_ksyms.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c
index f91b0e8d0dc8..bfc04ca560d7 100644
--- a/arch/sparc/kernel/sparc_ksyms.c
+++ b/arch/sparc/kernel/sparc_ksyms.c
@@ -20,6 +20,7 @@
20#include <linux/in6.h> 20#include <linux/in6.h>
21#include <linux/spinlock.h> 21#include <linux/spinlock.h>
22#include <linux/mm.h> 22#include <linux/mm.h>
23#include <linux/syscalls.h>
23#ifdef CONFIG_PCI 24#ifdef CONFIG_PCI
24#include <linux/pci.h> 25#include <linux/pci.h>
25#endif 26#endif
@@ -89,6 +90,9 @@ extern void ___atomic24_sub(void);
89extern void ___set_bit(void); 90extern void ___set_bit(void);
90extern void ___clear_bit(void); 91extern void ___clear_bit(void);
91extern void ___change_bit(void); 92extern void ___change_bit(void);
93extern void ___rw_read_enter(void);
94extern void ___rw_read_exit(void);
95extern void ___rw_write_enter(void);
92 96
93/* Alias functions whose names begin with "." and export the aliases. 97/* Alias functions whose names begin with "." and export the aliases.
94 * The module references will be fixed up by module_frob_arch_sections. 98 * The module references will be fixed up by module_frob_arch_sections.
@@ -121,9 +125,9 @@ EXPORT_SYMBOL(_do_write_unlock);
121#endif 125#endif
122#else 126#else
123// XXX find what uses (or used) these. 127// XXX find what uses (or used) these.
124// EXPORT_SYMBOL_PRIVATE(_rw_read_enter); 128EXPORT_SYMBOL(___rw_read_enter);
125// EXPORT_SYMBOL_PRIVATE(_rw_read_exit); 129EXPORT_SYMBOL(___rw_read_exit);
126// EXPORT_SYMBOL_PRIVATE(_rw_write_enter); 130EXPORT_SYMBOL(___rw_write_enter);
127#endif 131#endif
128/* semaphores */ 132/* semaphores */
129EXPORT_SYMBOL(__up); 133EXPORT_SYMBOL(__up);
@@ -332,3 +336,6 @@ EXPORT_SYMBOL(do_BUG);
332 336
333/* Sun Power Management Idle Handler */ 337/* Sun Power Management Idle Handler */
334EXPORT_SYMBOL(pm_idle); 338EXPORT_SYMBOL(pm_idle);
339
340/* Binfmt_misc needs this */
341EXPORT_SYMBOL(sys_close);