Blackfin: initial support for ftrace
[linux-2.6/mini2440.git] / arch / blackfin / kernel / bfin_ksyms.c
blobaa05e638fb7cb6fa3d4b5cd7e05b2c3ecc128eb1
1 /*
2 * arch/blackfin/kernel/bfin_ksyms.c - exports for random symbols
4 * Copyright 2004-2008 Analog Devices Inc.
6 * Licensed under the GPL-2 or later.
7 */
9 #include <linux/module.h>
10 #include <linux/uaccess.h>
12 #include <asm/cacheflush.h>
14 /* Allow people to have their own Blackfin exception handler in a module */
15 EXPORT_SYMBOL(bfin_return_from_exception);
17 /* All the Blackfin cache functions: mach-common/cache.S */
18 EXPORT_SYMBOL(blackfin_dcache_invalidate_range);
19 EXPORT_SYMBOL(blackfin_icache_flush_range);
20 EXPORT_SYMBOL(blackfin_dcache_flush_range);
21 EXPORT_SYMBOL(blackfin_dflush_page);
23 /* The following are special because they're not called
24 * explicitly (the C compiler generates them). Fortunately,
25 * their interface isn't gonna change any time soon now, so
26 * it's OK to leave it out of version control.
28 EXPORT_SYMBOL(memcpy);
29 EXPORT_SYMBOL(memset);
30 EXPORT_SYMBOL(memcmp);
31 EXPORT_SYMBOL(memmove);
32 EXPORT_SYMBOL(memchr);
35 * libgcc functions - functions that are used internally by the
36 * compiler... (prototypes are not correct though, but that
37 * doesn't really matter since they're not versioned).
39 extern void __ashldi3(void);
40 extern void __ashrdi3(void);
41 extern void __smulsi3_highpart(void);
42 extern void __umulsi3_highpart(void);
43 extern void __divsi3(void);
44 extern void __lshrdi3(void);
45 extern void __modsi3(void);
46 extern void __muldi3(void);
47 extern void __udivsi3(void);
48 extern void __umodsi3(void);
49 EXPORT_SYMBOL(__ashldi3);
50 EXPORT_SYMBOL(__ashrdi3);
51 EXPORT_SYMBOL(__umulsi3_highpart);
52 EXPORT_SYMBOL(__smulsi3_highpart);
53 EXPORT_SYMBOL(__divsi3);
54 EXPORT_SYMBOL(__lshrdi3);
55 EXPORT_SYMBOL(__modsi3);
56 EXPORT_SYMBOL(__muldi3);
57 EXPORT_SYMBOL(__udivsi3);
58 EXPORT_SYMBOL(__umodsi3);
60 /* Input/output symbols: lib/{in,out}s.S */
61 EXPORT_SYMBOL(outsb);
62 EXPORT_SYMBOL(insb);
63 EXPORT_SYMBOL(outsw);
64 EXPORT_SYMBOL(outsw_8);
65 EXPORT_SYMBOL(insw);
66 EXPORT_SYMBOL(insw_8);
67 EXPORT_SYMBOL(outsl);
68 EXPORT_SYMBOL(insl);
69 EXPORT_SYMBOL(insl_16);
71 #ifdef CONFIG_SMP
72 EXPORT_SYMBOL(__raw_atomic_update_asm);
73 EXPORT_SYMBOL(__raw_atomic_clear_asm);
74 EXPORT_SYMBOL(__raw_atomic_set_asm);
75 EXPORT_SYMBOL(__raw_atomic_xor_asm);
76 EXPORT_SYMBOL(__raw_atomic_test_asm);
77 EXPORT_SYMBOL(__raw_xchg_1_asm);
78 EXPORT_SYMBOL(__raw_xchg_2_asm);
79 EXPORT_SYMBOL(__raw_xchg_4_asm);
80 EXPORT_SYMBOL(__raw_cmpxchg_1_asm);
81 EXPORT_SYMBOL(__raw_cmpxchg_2_asm);
82 EXPORT_SYMBOL(__raw_cmpxchg_4_asm);
83 EXPORT_SYMBOL(__raw_spin_is_locked_asm);
84 EXPORT_SYMBOL(__raw_spin_lock_asm);
85 EXPORT_SYMBOL(__raw_spin_trylock_asm);
86 EXPORT_SYMBOL(__raw_spin_unlock_asm);
87 EXPORT_SYMBOL(__raw_read_lock_asm);
88 EXPORT_SYMBOL(__raw_read_trylock_asm);
89 EXPORT_SYMBOL(__raw_read_unlock_asm);
90 EXPORT_SYMBOL(__raw_write_lock_asm);
91 EXPORT_SYMBOL(__raw_write_trylock_asm);
92 EXPORT_SYMBOL(__raw_write_unlock_asm);
93 EXPORT_SYMBOL(__raw_bit_set_asm);
94 EXPORT_SYMBOL(__raw_bit_clear_asm);
95 EXPORT_SYMBOL(__raw_bit_toggle_asm);
96 EXPORT_SYMBOL(__raw_bit_test_asm);
97 EXPORT_SYMBOL(__raw_bit_test_set_asm);
98 EXPORT_SYMBOL(__raw_bit_test_clear_asm);
99 EXPORT_SYMBOL(__raw_bit_test_toggle_asm);
100 EXPORT_SYMBOL(__raw_uncached_fetch_asm);
101 #ifdef __ARCH_SYNC_CORE_DCACHE
102 EXPORT_SYMBOL(__raw_smp_mark_barrier_asm);
103 EXPORT_SYMBOL(__raw_smp_check_barrier_asm);
104 #endif
105 #endif
107 #ifdef CONFIG_FUNCTION_TRACER
108 extern void _mcount(void);
109 EXPORT_SYMBOL(_mcount);
110 #endif