diff options
Diffstat (limited to 'arch/blackfin/kernel/bfin_ksyms.c')
-rw-r--r-- | arch/blackfin/kernel/bfin_ksyms.c | 101 |
1 files changed, 46 insertions, 55 deletions
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c index 4367330909b2..01f917d58b59 100644 --- a/arch/blackfin/kernel/bfin_ksyms.c +++ b/arch/blackfin/kernel/bfin_ksyms.c | |||
@@ -1,52 +1,25 @@ | |||
1 | /* | 1 | /* |
2 | * File: arch/blackfin/kernel/bfin_ksyms.c | 2 | * arch/blackfin/kernel/bfin_ksyms.c - exports for random symbols |
3 | * Based on: none - original work | ||
4 | * Author: | ||
5 | * | 3 | * |
6 | * Created: | 4 | * Copyright 2004-2008 Analog Devices Inc. |
7 | * Description: | ||
8 | * | 5 | * |
9 | * Modified: | 6 | * Licensed under the GPL-2 or later. |
10 | * Copyright 2004-2006 Analog Devices Inc. | ||
11 | * | ||
12 | * Bugs: Enter bugs at http://blackfin.uclinux.org/ | ||
13 | * | ||
14 | * This program is free software; you can redistribute it and/or modify | ||
15 | * it under the terms of the GNU General Public License as published by | ||
16 | * the Free Software Foundation; either version 2 of the License, or | ||
17 | * (at your option) any later version. | ||
18 | * | ||
19 | * This program is distributed in the hope that it will be useful, | ||
20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
22 | * GNU General Public License for more details. | ||
23 | * | ||
24 | * You should have received a copy of the GNU General Public License | ||
25 | * along with this program; if not, see the file COPYING, or write | ||
26 | * to the Free Software Foundation, Inc., | ||
27 | * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
28 | */ | 7 | */ |
29 | 8 | ||
30 | #include <linux/module.h> | 9 | #include <linux/module.h> |
31 | #include <linux/irq.h> | ||
32 | #include <linux/uaccess.h> | 10 | #include <linux/uaccess.h> |
33 | 11 | ||
34 | #include <asm/checksum.h> | ||
35 | #include <asm/cacheflush.h> | 12 | #include <asm/cacheflush.h> |
36 | 13 | ||
37 | /* platform dependent support */ | 14 | /* Allow people to have their own Blackfin exception handler in a module */ |
38 | |||
39 | EXPORT_SYMBOL(__ioremap); | ||
40 | |||
41 | EXPORT_SYMBOL(ip_fast_csum); | ||
42 | |||
43 | EXPORT_SYMBOL(kernel_thread); | ||
44 | |||
45 | EXPORT_SYMBOL(is_in_rom); | ||
46 | EXPORT_SYMBOL(bfin_return_from_exception); | 15 | EXPORT_SYMBOL(bfin_return_from_exception); |
47 | 16 | ||
48 | /* Networking helper routines. */ | 17 | /* All the Blackfin cache functions: mach-common/cache.S */ |
49 | EXPORT_SYMBOL(csum_partial_copy); | 18 | EXPORT_SYMBOL(blackfin_dcache_invalidate_range); |
19 | EXPORT_SYMBOL(blackfin_icache_dcache_flush_range); | ||
20 | EXPORT_SYMBOL(blackfin_icache_flush_range); | ||
21 | EXPORT_SYMBOL(blackfin_dcache_flush_range); | ||
22 | EXPORT_SYMBOL(blackfin_dflush_page); | ||
50 | 23 | ||
51 | /* The following are special because they're not called | 24 | /* The following are special because they're not called |
52 | * explicitly (the C compiler generates them). Fortunately, | 25 | * explicitly (the C compiler generates them). Fortunately, |
@@ -74,8 +47,6 @@ extern void __modsi3(void); | |||
74 | extern void __muldi3(void); | 47 | extern void __muldi3(void); |
75 | extern void __udivsi3(void); | 48 | extern void __udivsi3(void); |
76 | extern void __umodsi3(void); | 49 | extern void __umodsi3(void); |
77 | |||
78 | /* gcc lib functions */ | ||
79 | EXPORT_SYMBOL(__ashldi3); | 50 | EXPORT_SYMBOL(__ashldi3); |
80 | EXPORT_SYMBOL(__ashrdi3); | 51 | EXPORT_SYMBOL(__ashrdi3); |
81 | EXPORT_SYMBOL(__umulsi3_highpart); | 52 | EXPORT_SYMBOL(__umulsi3_highpart); |
@@ -87,6 +58,7 @@ EXPORT_SYMBOL(__muldi3); | |||
87 | EXPORT_SYMBOL(__udivsi3); | 58 | EXPORT_SYMBOL(__udivsi3); |
88 | EXPORT_SYMBOL(__umodsi3); | 59 | EXPORT_SYMBOL(__umodsi3); |
89 | 60 | ||
61 | /* Input/output symbols: lib/{in,out}s.S */ | ||
90 | EXPORT_SYMBOL(outsb); | 62 | EXPORT_SYMBOL(outsb); |
91 | EXPORT_SYMBOL(insb); | 63 | EXPORT_SYMBOL(insb); |
92 | EXPORT_SYMBOL(outsw); | 64 | EXPORT_SYMBOL(outsw); |
@@ -96,20 +68,39 @@ EXPORT_SYMBOL(insw_8); | |||
96 | EXPORT_SYMBOL(outsl); | 68 | EXPORT_SYMBOL(outsl); |
97 | EXPORT_SYMBOL(insl); | 69 | EXPORT_SYMBOL(insl); |
98 | EXPORT_SYMBOL(insl_16); | 70 | EXPORT_SYMBOL(insl_16); |
99 | EXPORT_SYMBOL(irq_flags); | ||
100 | EXPORT_SYMBOL(iounmap); | ||
101 | EXPORT_SYMBOL(blackfin_dcache_invalidate_range); | ||
102 | EXPORT_SYMBOL(blackfin_icache_dcache_flush_range); | ||
103 | EXPORT_SYMBOL(blackfin_icache_flush_range); | ||
104 | EXPORT_SYMBOL(blackfin_dcache_flush_range); | ||
105 | EXPORT_SYMBOL(blackfin_dflush_page); | ||
106 | 71 | ||
107 | EXPORT_SYMBOL(csum_partial); | 72 | #ifdef CONFIG_SMP |
108 | EXPORT_SYMBOL(__init_begin); | 73 | EXPORT_SYMBOL(__raw_atomic_update_asm); |
109 | EXPORT_SYMBOL(__init_end); | 74 | EXPORT_SYMBOL(__raw_atomic_clear_asm); |
110 | EXPORT_SYMBOL(_ebss_l1); | 75 | EXPORT_SYMBOL(__raw_atomic_set_asm); |
111 | EXPORT_SYMBOL(_stext_l1); | 76 | EXPORT_SYMBOL(__raw_atomic_xor_asm); |
112 | EXPORT_SYMBOL(_etext_l1); | 77 | EXPORT_SYMBOL(__raw_atomic_test_asm); |
113 | EXPORT_SYMBOL(_sdata_l1); | 78 | EXPORT_SYMBOL(__raw_xchg_1_asm); |
114 | EXPORT_SYMBOL(_ebss_b_l1); | 79 | EXPORT_SYMBOL(__raw_xchg_2_asm); |
115 | EXPORT_SYMBOL(_sdata_b_l1); | 80 | EXPORT_SYMBOL(__raw_xchg_4_asm); |
81 | EXPORT_SYMBOL(__raw_cmpxchg_1_asm); | ||
82 | EXPORT_SYMBOL(__raw_cmpxchg_2_asm); | ||
83 | EXPORT_SYMBOL(__raw_cmpxchg_4_asm); | ||
84 | EXPORT_SYMBOL(__raw_spin_is_locked_asm); | ||
85 | EXPORT_SYMBOL(__raw_spin_lock_asm); | ||
86 | EXPORT_SYMBOL(__raw_spin_trylock_asm); | ||
87 | EXPORT_SYMBOL(__raw_spin_unlock_asm); | ||
88 | EXPORT_SYMBOL(__raw_read_lock_asm); | ||
89 | EXPORT_SYMBOL(__raw_read_trylock_asm); | ||
90 | EXPORT_SYMBOL(__raw_read_unlock_asm); | ||
91 | EXPORT_SYMBOL(__raw_write_lock_asm); | ||
92 | EXPORT_SYMBOL(__raw_write_trylock_asm); | ||
93 | EXPORT_SYMBOL(__raw_write_unlock_asm); | ||
94 | EXPORT_SYMBOL(__raw_bit_set_asm); | ||
95 | EXPORT_SYMBOL(__raw_bit_clear_asm); | ||
96 | EXPORT_SYMBOL(__raw_bit_toggle_asm); | ||
97 | EXPORT_SYMBOL(__raw_bit_test_asm); | ||
98 | EXPORT_SYMBOL(__raw_bit_test_set_asm); | ||
99 | EXPORT_SYMBOL(__raw_bit_test_clear_asm); | ||
100 | EXPORT_SYMBOL(__raw_bit_test_toggle_asm); | ||
101 | EXPORT_SYMBOL(__raw_uncached_fetch_asm); | ||
102 | #ifdef __ARCH_SYNC_CORE_DCACHE | ||
103 | EXPORT_SYMBOL(__raw_smp_mark_barrier_asm); | ||
104 | EXPORT_SYMBOL(__raw_smp_check_barrier_asm); | ||
105 | #endif | ||
106 | #endif | ||