Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
[wrt350n-kernel.git] / arch / xtensa / kernel / xtensa_ksyms.c
blob60dbdb43fb4c92d27e12f15cba95d8195601721f
1 /*
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
8 * for more details.
10 * Copyright (C) 2001 - 2005 Tensilica Inc.
12 * Joe Taylor <joe@tensilica.com>
15 #include <linux/module.h>
16 #include <linux/string.h>
17 #include <linux/mm.h>
18 #include <linux/interrupt.h>
19 #include <asm/irq.h>
20 #include <linux/in6.h>
21 #include <linux/ide.h>
23 #include <asm/uaccess.h>
24 #include <asm/checksum.h>
25 #include <asm/dma.h>
26 #include <asm/io.h>
27 #include <asm/page.h>
28 #include <asm/pgalloc.h>
29 #include <asm/semaphore.h>
30 #ifdef CONFIG_BLK_DEV_FD
31 #include <asm/floppy.h>
32 #endif
33 #ifdef CONFIG_NET
34 #include <net/checksum.h>
35 #endif /* CONFIG_NET */
39 * String functions
41 EXPORT_SYMBOL(memset);
42 EXPORT_SYMBOL(memcpy);
43 EXPORT_SYMBOL(memmove);
45 EXPORT_SYMBOL(kernel_thread);
48 * gcc internal math functions
50 extern long long __ashrdi3(long long, int);
51 extern long long __ashldi3(long long, int);
52 extern long long __lshrdi3(long long, int);
53 extern int __divsi3(int, int);
54 extern int __modsi3(int, int);
55 extern long long __muldi3(long long, long long);
56 extern int __mulsi3(int, int);
57 extern unsigned int __udivsi3(unsigned int, unsigned int);
58 extern unsigned int __umodsi3(unsigned int, unsigned int);
59 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
60 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
62 EXPORT_SYMBOL(__ashldi3);
63 EXPORT_SYMBOL(__ashrdi3);
64 EXPORT_SYMBOL(__lshrdi3);
65 EXPORT_SYMBOL(__divsi3);
66 EXPORT_SYMBOL(__modsi3);
67 EXPORT_SYMBOL(__muldi3);
68 EXPORT_SYMBOL(__mulsi3);
69 EXPORT_SYMBOL(__udivsi3);
70 EXPORT_SYMBOL(__umodsi3);
71 EXPORT_SYMBOL(__udivdi3);
72 EXPORT_SYMBOL(__umoddi3);
75 * Semaphore operations
77 EXPORT_SYMBOL(__down);
78 EXPORT_SYMBOL(__down_interruptible);
79 EXPORT_SYMBOL(__down_trylock);
80 EXPORT_SYMBOL(__up);
82 #ifdef CONFIG_NET
84 * Networking support
86 EXPORT_SYMBOL(csum_partial_copy_generic);
87 #endif /* CONFIG_NET */
90 * Architecture-specific symbols
92 EXPORT_SYMBOL(__xtensa_copy_user);
95 * Kernel hacking ...
98 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
99 // FIXME EXPORT_SYMBOL(screen_info);
100 #endif
102 EXPORT_SYMBOL(outsb);
103 EXPORT_SYMBOL(outsw);
104 EXPORT_SYMBOL(outsl);
105 EXPORT_SYMBOL(insb);
106 EXPORT_SYMBOL(insw);
107 EXPORT_SYMBOL(insl);