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