This commit was manufactured by cvs2svn to create branch 'vserver'.
[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/hardirq.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(strtok);
55 EXPORT_SYMBOL(strpbrk);
56 EXPORT_SYMBOL(strstr);
57
58 #ifdef CONFIG_VT
59 EXPORT_SYMBOL(screen_info);
60 #endif
61
62 EXPORT_SYMBOL_NOVERS(__down);
63 EXPORT_SYMBOL_NOVERS(__down_trylock);
64 EXPORT_SYMBOL_NOVERS(__up);
65 EXPORT_SYMBOL_NOVERS(__put_user_asm_l);
66 EXPORT_SYMBOL_NOVERS(__get_user_asm_l);
67 EXPORT_SYMBOL_NOVERS(memcmp);
68 EXPORT_SYMBOL_NOVERS(memcpy);
69 EXPORT_SYMBOL_NOVERS(memset);
70 EXPORT_SYMBOL_NOVERS(memscan);
71 EXPORT_SYMBOL_NOVERS(strchr);
72 EXPORT_SYMBOL_NOVERS(strlen);
73
74 EXPORT_SYMBOL(flush_dcache_page);
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 EXPORT_SYMBOL_NOVERS(__sdivsi3);
82 EXPORT_SYMBOL_NOVERS(__muldi3);
83 EXPORT_SYMBOL_NOVERS(__udivsi3);
84