vserver 1.9.3
[linux-2.6.git] / 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
23 #include <asm/semaphore.h>
24 #include <asm/processor.h>
25 #include <asm/uaccess.h>
26 #include <asm/checksum.h>
27 #include <asm/io.h>
28 #include <asm/delay.h>
29 #include <asm/irq.h>
30
31 extern void dump_thread(struct pt_regs *, struct user *);
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_thread);
44 EXPORT_SYMBOL(dump_fpu);
45 EXPORT_SYMBOL(iounmap);
46 EXPORT_SYMBOL(enable_irq);
47 EXPORT_SYMBOL(disable_irq);
48 EXPORT_SYMBOL(kernel_thread);
49
50 /* Networking helper routines. */
51 EXPORT_SYMBOL(csum_partial_copy);
52
53 EXPORT_SYMBOL(strtok);
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 /* Ugh.  These come in from libgcc.a at link time. */
76
77 extern void __sdivsi3(void);
78 extern void __muldi3(void);
79 extern void __udivsi3(void);
80 EXPORT_SYMBOL(__sdivsi3);
81 EXPORT_SYMBOL(__muldi3);
82 EXPORT_SYMBOL(__udivsi3);
83