2 * arch/xtensa/kernel/xtensa_ksyms.c
4 * Export Xtensa-specific functions for loadable modules.
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
10 * Copyright (C) 2001 - 2005 Tensilica Inc.
12 * Joe Taylor <joe@tensilica.com>
15 #include <linux/module.h>
16 #include <linux/string.h>
18 #include <linux/interrupt.h>
20 #include <linux/in6.h>
21 #include <linux/ide.h>
23 #include <asm/uaccess.h>
24 #include <asm/checksum.h>
28 #include <asm/pgalloc.h>
29 #ifdef CONFIG_BLK_DEV_FD
30 #include <asm/floppy.h>
33 #include <net/checksum.h>
34 #endif /* CONFIG_NET */
40 EXPORT_SYMBOL(memset);
41 EXPORT_SYMBOL(memcpy);
42 EXPORT_SYMBOL(memmove);
44 EXPORT_SYMBOL(kernel_thread);
47 * gcc internal math functions
49 extern long long __ashrdi3(long long, int);
50 extern long long __ashldi3(long long, int);
51 extern long long __lshrdi3(long long, int);
52 extern int __divsi3(int, int);
53 extern int __modsi3(int, int);
54 extern long long __muldi3(long long, long long);
55 extern int __mulsi3(int, int);
56 extern unsigned int __udivsi3(unsigned int, unsigned int);
57 extern unsigned int __umodsi3(unsigned int, unsigned int);
58 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
59 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
61 EXPORT_SYMBOL(__ashldi3);
62 EXPORT_SYMBOL(__ashrdi3);
63 EXPORT_SYMBOL(__lshrdi3);
64 EXPORT_SYMBOL(__divsi3);
65 EXPORT_SYMBOL(__modsi3);
66 EXPORT_SYMBOL(__muldi3);
67 EXPORT_SYMBOL(__mulsi3);
68 EXPORT_SYMBOL(__udivsi3);
69 EXPORT_SYMBOL(__umodsi3);
70 EXPORT_SYMBOL(__udivdi3);
71 EXPORT_SYMBOL(__umoddi3);
77 EXPORT_SYMBOL(csum_partial_copy_generic);
78 #endif /* CONFIG_NET */
81 * Architecture-specific symbols
83 EXPORT_SYMBOL(__xtensa_copy_user);
89 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
90 // FIXME EXPORT_SYMBOL(screen_info);