diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-06-01 03:16:17 +0000 |
commit | d8d9b8f76f22b7a16a83e261e64f89ee611f49df (patch) | |
tree | 3067bc130b80d52808e6390c9fc7fc087ec1e33c /arch/sparc/kernel/sparc_ksyms.c | |
parent | 19c9bba94152148523ba0f7ef7cffe3d45656b11 (diff) |
Initial revision
Diffstat (limited to 'arch/sparc/kernel/sparc_ksyms.c')
-rw-r--r-- | arch/sparc/kernel/sparc_ksyms.c | 37 |
1 files changed, 34 insertions, 3 deletions
diff --git a/arch/sparc/kernel/sparc_ksyms.c b/arch/sparc/kernel/sparc_ksyms.c index 645aafb35..38896ab22 100644 --- a/arch/sparc/kernel/sparc_ksyms.c +++ b/arch/sparc/kernel/sparc_ksyms.c @@ -1,4 +1,4 @@ -/* $Id: sparc_ksyms.c,v 1.56 1997/04/18 05:44:35 davem Exp $ +/* $Id: sparc_ksyms.c,v 1.59 1997/05/08 17:45:20 davem Exp $ * arch/sparc/kernel/ksyms.c: Sparc specific ksyms support. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) @@ -38,6 +38,7 @@ #include <asm/dma.h> #endif #include <asm/a.out.h> +#include <asm/spinlock.h> struct poll { int fd; @@ -50,9 +51,9 @@ extern int svr4_setcontext (svr4_ucontext_t *, struct pt_regs *); extern unsigned long sunos_mmap(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long); void _sigpause_common (unsigned int set, struct pt_regs *); -extern void __copy_1page(void *, const void *); +extern void (*__copy_1page)(void *, const void *); extern void __memmove(void *, const void *, __kernel_size_t); -extern void *bzero_1page(void *); +extern void (*bzero_1page)(void *); extern void *__bzero(void *, size_t); extern void *__memscan_zero(void *, size_t); extern void *__memscan_generic(void *, int, size_t); @@ -87,17 +88,47 @@ EXPORT_SYMBOL(klock_info); EXPORT_SYMBOL_PRIVATE(_lock_kernel); EXPORT_SYMBOL_PRIVATE(_unlock_kernel); EXPORT_SYMBOL_PRIVATE(_spinlock_waitfor); +#ifdef SPIN_LOCK_DEBUG +EXPORT_SYMBOL(_spin_lock); +EXPORT_SYMBOL(_spin_unlock); +EXPORT_SYMBOL(_spin_trylock); +EXPORT_SYMBOL(_spin_lock_irq); +EXPORT_SYMBOL(_spin_unlock_irq); +EXPORT_SYMBOL(_spin_lock_irqsave); +EXPORT_SYMBOL(_spin_unlock_irqrestore); +EXPORT_SYMBOL(_read_lock); +EXPORT_SYMBOL(_read_unlock); +EXPORT_SYMBOL(_read_lock_irq); +EXPORT_SYMBOL(_read_unlock_irq); +EXPORT_SYMBOL(_read_lock_irqsave); +EXPORT_SYMBOL(_read_unlock_irqrestore); +EXPORT_SYMBOL(_write_lock); +EXPORT_SYMBOL(_write_unlock); +EXPORT_SYMBOL(_write_lock_irq); +EXPORT_SYMBOL(_write_unlock_irq); +EXPORT_SYMBOL(_write_lock_irqsave); +EXPORT_SYMBOL(_write_unlock_irqrestore); +#else EXPORT_SYMBOL_PRIVATE(_rw_read_enter); EXPORT_SYMBOL_PRIVATE(_rw_read_exit); EXPORT_SYMBOL_PRIVATE(_rw_write_enter); +#endif EXPORT_SYMBOL(__sparc_bh_counter); #ifdef __SMP__ +#ifdef DEBUG_IRQLOCK +EXPORT_SYMBOL(irq_enter); +EXPORT_SYMBOL(irq_exit); +EXPORT_SYMBOL(__global_restore_flags); +EXPORT_SYMBOL(__global_sti); +EXPORT_SYMBOL(__global_cli); +#else EXPORT_SYMBOL_PRIVATE(_irq_enter); EXPORT_SYMBOL_PRIVATE(_irq_exit); EXPORT_SYMBOL_PRIVATE(_global_restore_flags); EXPORT_SYMBOL_PRIVATE(_global_sti); EXPORT_SYMBOL_PRIVATE(_global_cli); #endif +#endif EXPORT_SYMBOL(page_offset); EXPORT_SYMBOL(stack_top); |