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 
14 
15 #if 0
16 #ifdef CONFIG_MODVERSIONS
17 #define EXPORT_SYMTAB 1
18 #endif
19 #endif
20 
21 #include <linux/module.h>
22 #include <linux/smp.h>
23 #include <linux/user.h>
24 #include <linux/elfcore.h>
25 #include <linux/mca.h>
26 #include <linux/sched.h>
27 #include <linux/in6.h>
28 #include <linux/interrupt.h>
29 #include <linux/smp_lock.h>
30 
31 #include <asm/semaphore.h>
32 #include <asm/processor.h>
33 #include <asm/uaccess.h>
34 #include <asm/checksum.h>
35 #include <asm/io.h>
36 #include <asm/hardirq.h>
37 #include <asm/delay.h>
38 #include <asm/irq.h>
39 #include <asm/pgtable.h>
40 
41 extern void dump_thread(struct pt_regs *, struct user *);
42 extern int dump_fpu(elf_fpregset_t *);
43 
44 #if 0
45 /* Not yet - there's no declaration of drive_info anywhere. */
46 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
47 extern struct drive_info_struct drive_info;
48 EXPORT_SYMBOL(drive_info);
49 #endif
50 #endif
51 
52 /* platform dependent support */
53 EXPORT_SYMBOL(dump_thread);
54 EXPORT_SYMBOL(dump_fpu);
55 EXPORT_SYMBOL(iounmap);
56 EXPORT_SYMBOL(enable_irq);
57 EXPORT_SYMBOL(disable_irq);
58 EXPORT_SYMBOL(kernel_thread);
59 
60 /* Networking helper routines. */
61 EXPORT_SYMBOL(csum_partial_copy);
62 
63 EXPORT_SYMBOL(strtok);
64 EXPORT_SYMBOL(strpbrk);
65 EXPORT_SYMBOL(strstr);
66 
67 #ifdef CONFIG_VT
68 EXPORT_SYMBOL(screen_info);
69 #endif
70 
71 EXPORT_SYMBOL_NOVERS(__down);
72 EXPORT_SYMBOL_NOVERS(__down_trylock);
73 EXPORT_SYMBOL_NOVERS(__up);
74 EXPORT_SYMBOL_NOVERS(__put_user_asm_l);
75 EXPORT_SYMBOL_NOVERS(__get_user_asm_l);
76 EXPORT_SYMBOL_NOVERS(memcmp);
77 EXPORT_SYMBOL_NOVERS(memcpy);
78 EXPORT_SYMBOL_NOVERS(memset);
79 EXPORT_SYMBOL_NOVERS(memscan);
80 EXPORT_SYMBOL_NOVERS(strchr);
81 EXPORT_SYMBOL_NOVERS(strlen);
82 
83 EXPORT_SYMBOL(flush_dcache_page);
84 
85 /* Ugh.  These come in from libgcc.a at link time. */
86 
87 extern void __sdivsi3(void);
88 extern void __muldi3(void);
89 extern void __udivsi3(void);
90 EXPORT_SYMBOL_NOVERS(__sdivsi3);
91 EXPORT_SYMBOL_NOVERS(__muldi3);
92 EXPORT_SYMBOL_NOVERS(__udivsi3);
93 
94