diff options
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 13 |
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); | |||
89 | extern void ___set_bit(void); | 90 | extern void ___set_bit(void); |
90 | extern void ___clear_bit(void); | 91 | extern void ___clear_bit(void); |
91 | extern void ___change_bit(void); | 92 | extern void ___change_bit(void); |
93 | extern void ___rw_read_enter(void); | ||
94 | extern void ___rw_read_exit(void); | ||
95 | extern 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); | 128 | EXPORT_SYMBOL(___rw_read_enter); |
125 | // EXPORT_SYMBOL_PRIVATE(_rw_read_exit); | 129 | EXPORT_SYMBOL(___rw_read_exit); |
126 | // EXPORT_SYMBOL_PRIVATE(_rw_write_enter); | 130 | EXPORT_SYMBOL(___rw_write_enter); |
127 | #endif | 131 | #endif |
128 | /* semaphores */ | 132 | /* semaphores */ |
129 | EXPORT_SYMBOL(__up); | 133 | EXPORT_SYMBOL(__up); |
@@ -332,3 +336,6 @@ EXPORT_SYMBOL(do_BUG); | |||
332 | 336 | ||
333 | /* Sun Power Management Idle Handler */ | 337 | /* Sun Power Management Idle Handler */ |
334 | EXPORT_SYMBOL(pm_idle); | 338 | EXPORT_SYMBOL(pm_idle); |
339 | |||
340 | /* Binfmt_misc needs this */ | ||
341 | EXPORT_SYMBOL(sys_close); | ||