Merge with /home/shaggy/git/linus-clean/
[linux-2.6] / arch / sh64 / kernel / sh_ksyms.c
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 int dump_fpu(struct pt_regs *, elf_fpregset_t *);
33
34 #if 0
35 /* Not yet - there's no declaration of drive_info anywhere. */
36 #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_HD) || defined(CONFIG_BLK_DEV_IDE_MODULE) || defined(CONFIG_BLK_DEV_HD_MODULE)
37 extern struct drive_info_struct drive_info;
38 EXPORT_SYMBOL(drive_info);
39 #endif
40 #endif
41
42 /* platform dependent support */
43 EXPORT_SYMBOL(dump_fpu);
44 EXPORT_SYMBOL(iounmap);
45 EXPORT_SYMBOL(enable_irq);
46 EXPORT_SYMBOL(disable_irq);
47 EXPORT_SYMBOL(kernel_thread);
48
49 /* Networking helper routines. */
50 EXPORT_SYMBOL(csum_partial_copy);
51
52 EXPORT_SYMBOL(strpbrk);
53 EXPORT_SYMBOL(strstr);
54
55 #ifdef CONFIG_VT
56 EXPORT_SYMBOL(screen_info);
57 #endif
58
59 EXPORT_SYMBOL(__down);
60 EXPORT_SYMBOL(__down_trylock);
61 EXPORT_SYMBOL(__up);
62 EXPORT_SYMBOL(__put_user_asm_l);
63 EXPORT_SYMBOL(__get_user_asm_l);
64 EXPORT_SYMBOL(memcmp);
65 EXPORT_SYMBOL(memcpy);
66 EXPORT_SYMBOL(memset);
67 EXPORT_SYMBOL(memscan);
68 EXPORT_SYMBOL(strchr);
69 EXPORT_SYMBOL(strlen);
70
71 EXPORT_SYMBOL(flush_dcache_page);
72
73 /* For ext3 */
74 EXPORT_SYMBOL(sh64_page_clear);
75
76 /* Ugh.  These come in from libgcc.a at link time. */
77
78 extern void __sdivsi3(void);
79 extern void __muldi3(void);
80 extern void __udivsi3(void);
81 extern char __div_table;
82 EXPORT_SYMBOL(__sdivsi3);
83 EXPORT_SYMBOL(__muldi3);
84 EXPORT_SYMBOL(__udivsi3);
85 EXPORT_SYMBOL(__div_table);
86
87