Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * This file is subject to the terms and conditions of the GNU General Public |
| 3 | * License. See the file "COPYING" in the main directory of this archive |
| 4 | * for more details. |
| 5 | * |
| 6 | * arch/sh64/kernel/sh_ksyms.c |
| 7 | * |
| 8 | * Copyright (C) 2000, 2001 Paolo Alberelli |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | #include <linux/config.h> |
| 13 | #include <linux/rwsem.h> |
| 14 | #include <linux/module.h> |
| 15 | #include <linux/smp.h> |
| 16 | #include <linux/user.h> |
| 17 | #include <linux/elfcore.h> |
| 18 | #include <linux/sched.h> |
| 19 | #include <linux/in6.h> |
| 20 | #include <linux/interrupt.h> |
| 21 | #include <linux/smp_lock.h> |
| 22 | #include <linux/tty.h> |
| 23 | |
| 24 | #include <asm/semaphore.h> |
| 25 | #include <asm/processor.h> |
| 26 | #include <asm/uaccess.h> |
| 27 | #include <asm/checksum.h> |
| 28 | #include <asm/io.h> |
| 29 | #include <asm/delay.h> |
| 30 | #include <asm/irq.h> |
| 31 | |
| 32 | extern void dump_thread(struct pt_regs *, struct user *); |
| 33 | extern int dump_fpu(struct pt_regs *, elf_fpregset_t *); |
| 34 | |
| 35 | #if 0 |
| 36 | /* Not yet - there's no declaration of drive_info anywhere. */ |
| 37 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE) |
| 38 | extern struct drive_info_struct drive_info; |
| 39 | EXPORT_SYMBOL(drive_info); |
| 40 | #endif |
| 41 | #endif |
| 42 | |
| 43 | /* platform dependent support */ |
| 44 | EXPORT_SYMBOL(dump_thread); |
| 45 | EXPORT_SYMBOL(dump_fpu); |
| 46 | EXPORT_SYMBOL(iounmap); |
| 47 | EXPORT_SYMBOL(enable_irq); |
| 48 | EXPORT_SYMBOL(disable_irq); |
| 49 | EXPORT_SYMBOL(kernel_thread); |
| 50 | |
| 51 | /* Networking helper routines. */ |
| 52 | EXPORT_SYMBOL(csum_partial_copy); |
| 53 | |
| 54 | EXPORT_SYMBOL(strpbrk); |
| 55 | EXPORT_SYMBOL(strstr); |
| 56 | |
| 57 | #ifdef CONFIG_VT |
| 58 | EXPORT_SYMBOL(screen_info); |
| 59 | #endif |
| 60 | |
| 61 | EXPORT_SYMBOL(__down); |
| 62 | EXPORT_SYMBOL(__down_trylock); |
| 63 | EXPORT_SYMBOL(__up); |
| 64 | EXPORT_SYMBOL(__put_user_asm_l); |
| 65 | EXPORT_SYMBOL(__get_user_asm_l); |
| 66 | EXPORT_SYMBOL(memcmp); |
| 67 | EXPORT_SYMBOL(memcpy); |
| 68 | EXPORT_SYMBOL(memset); |
| 69 | EXPORT_SYMBOL(memscan); |
| 70 | EXPORT_SYMBOL(strchr); |
| 71 | EXPORT_SYMBOL(strlen); |
| 72 | |
| 73 | EXPORT_SYMBOL(flush_dcache_page); |
| 74 | |
| 75 | /* For ext3 */ |
| 76 | EXPORT_SYMBOL(sh64_page_clear); |
| 77 | |
| 78 | /* Ugh. These come in from libgcc.a at link time. */ |
| 79 | |
| 80 | extern void __sdivsi3(void); |
| 81 | extern void __muldi3(void); |
| 82 | extern void __udivsi3(void); |
| 83 | extern char __div_table; |
| 84 | EXPORT_SYMBOL(__sdivsi3); |
| 85 | EXPORT_SYMBOL(__muldi3); |
| 86 | EXPORT_SYMBOL(__udivsi3); |
| 87 | EXPORT_SYMBOL(__div_table); |
| 88 | |
| 89 | |