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