USB: see if URB comes from a completion handler
[linux/fpc-iii.git] / arch / xtensa / kernel / xtensa_ksyms.c
blob74a60c7e085ea40349336089889de2d52f9d142c
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>
22 #include <asm/uaccess.h>
23 #include <asm/checksum.h>
24 #include <asm/dma.h>
25 #include <asm/io.h>
26 #include <asm/page.h>
27 #include <asm/pgalloc.h>
28 #include <asm/ftrace.h>
29 #ifdef CONFIG_BLK_DEV_FD
30 #include <asm/floppy.h>
31 #endif
32 #ifdef CONFIG_NET
33 #include <net/checksum.h>
34 #endif /* CONFIG_NET */
38 * String functions
40 EXPORT_SYMBOL(memset);
41 EXPORT_SYMBOL(memcpy);
42 EXPORT_SYMBOL(memmove);
43 EXPORT_SYMBOL(__strncpy_user);
44 EXPORT_SYMBOL(clear_page);
45 EXPORT_SYMBOL(copy_page);
47 EXPORT_SYMBOL(empty_zero_page);
50 * gcc internal math functions
52 extern long long __ashrdi3(long long, int);
53 extern long long __ashldi3(long long, int);
54 extern long long __lshrdi3(long long, int);
55 extern int __divsi3(int, int);
56 extern int __modsi3(int, int);
57 extern long long __muldi3(long long, long long);
58 extern int __mulsi3(int, int);
59 extern unsigned int __udivsi3(unsigned int, unsigned int);
60 extern unsigned int __umodsi3(unsigned int, unsigned int);
61 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
62 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
63 extern int __ucmpdi2(int, int);
65 EXPORT_SYMBOL(__ashldi3);
66 EXPORT_SYMBOL(__ashrdi3);
67 EXPORT_SYMBOL(__lshrdi3);
68 EXPORT_SYMBOL(__divsi3);
69 EXPORT_SYMBOL(__modsi3);
70 EXPORT_SYMBOL(__muldi3);
71 EXPORT_SYMBOL(__mulsi3);
72 EXPORT_SYMBOL(__udivsi3);
73 EXPORT_SYMBOL(__umodsi3);
74 EXPORT_SYMBOL(__udivdi3);
75 EXPORT_SYMBOL(__umoddi3);
76 EXPORT_SYMBOL(__ucmpdi2);
78 void __xtensa_libgcc_window_spill(void)
80 BUG();
82 EXPORT_SYMBOL(__xtensa_libgcc_window_spill);
84 unsigned long __sync_fetch_and_and_4(unsigned long *p, unsigned long v)
86 BUG();
88 EXPORT_SYMBOL(__sync_fetch_and_and_4);
90 unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v)
92 BUG();
94 EXPORT_SYMBOL(__sync_fetch_and_or_4);
96 #ifdef CONFIG_NET
98 * Networking support
100 EXPORT_SYMBOL(csum_partial);
101 EXPORT_SYMBOL(csum_partial_copy_generic);
102 #endif /* CONFIG_NET */
105 * Architecture-specific symbols
107 EXPORT_SYMBOL(__xtensa_copy_user);
110 * Kernel hacking ...
113 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
114 // FIXME EXPORT_SYMBOL(screen_info);
115 #endif
117 EXPORT_SYMBOL(outsb);
118 EXPORT_SYMBOL(outsw);
119 EXPORT_SYMBOL(outsl);
120 EXPORT_SYMBOL(insb);
121 EXPORT_SYMBOL(insw);
122 EXPORT_SYMBOL(insl);
124 extern long common_exception_return;
125 extern long _spill_registers;
126 EXPORT_SYMBOL(common_exception_return);
127 EXPORT_SYMBOL(_spill_registers);
129 #ifdef CONFIG_FUNCTION_TRACER
130 EXPORT_SYMBOL(_mcount);
131 #endif