Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband
[linux-2.6] / arch / cris / kernel / crisksyms.c
1 #include <linux/module.h>
2 #include <linux/user.h>
3 #include <linux/elfcore.h>
4 #include <linux/sched.h>
5 #include <linux/in6.h>
6 #include <linux/interrupt.h>
7 #include <linux/smp_lock.h>
8 #include <linux/pm.h>
9 #include <linux/kernel.h>
10 #include <linux/string.h>
11 #include <linux/tty.h>
12
13 #include <asm/semaphore.h>
14 #include <asm/processor.h>
15 #include <asm/uaccess.h>
16 #include <asm/checksum.h>
17 #include <asm/io.h>
18 #include <asm/delay.h>
19 #include <asm/irq.h>
20 #include <asm/pgtable.h>
21 #include <asm/fasttimer.h>
22
23 extern unsigned long get_cmos_time(void);
24 extern void __Udiv(void);
25 extern void __Umod(void);
26 extern void __Div(void);
27 extern void __Mod(void);
28 extern void __ashldi3(void);
29 extern void __ashrdi3(void);
30 extern void __lshrdi3(void);
31 extern void iounmap(volatile void * __iomem);
32
33 /* Platform dependent support */
34 EXPORT_SYMBOL(kernel_thread);
35 EXPORT_SYMBOL(get_cmos_time);
36 EXPORT_SYMBOL(loops_per_usec);
37
38 /* String functions */
39 EXPORT_SYMBOL(memcmp);
40 EXPORT_SYMBOL(memmove);
41 EXPORT_SYMBOL(strstr);
42 EXPORT_SYMBOL(strcpy);
43 EXPORT_SYMBOL(strchr);
44 EXPORT_SYMBOL(strcmp);
45 EXPORT_SYMBOL(strlen);
46 EXPORT_SYMBOL(strcat);
47 EXPORT_SYMBOL(strncat);
48 EXPORT_SYMBOL(strncmp);
49 EXPORT_SYMBOL(strncpy);
50
51 /* Math functions */
52 EXPORT_SYMBOL(__Udiv);
53 EXPORT_SYMBOL(__Umod);
54 EXPORT_SYMBOL(__Div);
55 EXPORT_SYMBOL(__Mod);
56 EXPORT_SYMBOL(__ashldi3);
57 EXPORT_SYMBOL(__ashrdi3);
58 EXPORT_SYMBOL(__lshrdi3);
59
60 /* Memory functions */
61 EXPORT_SYMBOL(__ioremap);
62 EXPORT_SYMBOL(iounmap);
63
64 /* Semaphore functions */
65 EXPORT_SYMBOL(__up);
66 EXPORT_SYMBOL(__down);
67 EXPORT_SYMBOL(__down_interruptible);
68 EXPORT_SYMBOL(__down_trylock);
69
70 /* Userspace access functions */
71 EXPORT_SYMBOL(__copy_user_zeroing);
72 EXPORT_SYMBOL(__copy_user);
73
74 #undef memcpy
75 #undef memset
76 extern void * memset(void *, int, __kernel_size_t);
77 extern void * memcpy(void *, const void *, __kernel_size_t);
78 EXPORT_SYMBOL(memcpy);
79 EXPORT_SYMBOL(memset);
80
81 #ifdef CONFIG_ETRAX_FAST_TIMER
82 /* Fast timer functions */
83 EXPORT_SYMBOL(fast_timer_list);
84 EXPORT_SYMBOL(start_one_shot_timer);
85 EXPORT_SYMBOL(del_fast_timer);
86 EXPORT_SYMBOL(schedule_usleep);
87 #endif
88