Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xtensa_ksyms.c
Go to the documentation of this file.
1 /*
2  * arch/xtensa/kernel/xtensa_ksyms.c
3  *
4  * Export Xtensa-specific functions for loadable modules.
5  *
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.
9  *
10  * Copyright (C) 2001 - 2005 Tensilica Inc.
11  *
12  * Joe Taylor <[email protected]>
13  */
14 
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 
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 #ifdef CONFIG_BLK_DEV_FD
29 #include <asm/floppy.h>
30 #endif
31 #ifdef CONFIG_NET
32 #include <net/checksum.h>
33 #endif /* CONFIG_NET */
34 
35 
36 /*
37  * String functions
38  */
45 
47 
48 /*
49  * gcc internal math functions
50  */
51 extern long long __ashrdi3(long long, int);
52 extern long long __ashldi3(long long, int);
53 extern long long __lshrdi3(long long, int);
54 extern int __divsi3(int, int);
55 extern int __modsi3(int, int);
56 extern long long __muldi3(long long, long long);
57 extern int __mulsi3(int, int);
58 extern unsigned int __udivsi3(unsigned int, unsigned int);
59 extern unsigned int __umodsi3(unsigned int, unsigned int);
60 extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
61 extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
62 extern int __ucmpdi2(int, int);
63 
76 
78 {
79  BUG();
80 }
82 
83 unsigned long __sync_fetch_and_and_4(unsigned long *p, unsigned long v)
84 {
85  BUG();
86 }
88 
89 unsigned long __sync_fetch_and_or_4(unsigned long *p, unsigned long v)
90 {
91  BUG();
92 }
94 
95 #ifdef CONFIG_NET
96 /*
97  * Networking support
98  */
101 #endif /* CONFIG_NET */
102 
103 /*
104  * Architecture-specific symbols
105  */
107 
108 /*
109  * Kernel hacking ...
110  */
111 
112 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE)
113 // FIXME EXPORT_SYMBOL(screen_info);
114 #endif
115