aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-10-27 23:07:15 -0400
committerBryan Wu <cooloney@kernel.org>2008-10-27 23:07:15 -0400
commitfe8015ce2588e3ffe65284a2883703355804276e (patch)
treeecbc521304d5f80d37733d0bf8c5a5995bb63e0d /arch/blackfin
parentdc26aec25d1a4e2690df166dbe843344728994ce (diff)
Blackfin arch: move EXPORT_SYMBOL to the place where it is actually defined
- kernel_thread - irq_flags - checksum Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin')
-rw-r--r--arch/blackfin/kernel/bfin_ksyms.c9
-rw-r--r--arch/blackfin/kernel/process.c1
-rw-r--r--arch/blackfin/lib/checksum.c4
-rw-r--r--arch/blackfin/mach-common/ints-priority.c1
4 files changed, 6 insertions, 9 deletions
diff --git a/arch/blackfin/kernel/bfin_ksyms.c b/arch/blackfin/kernel/bfin_ksyms.c
index 4367330909b2..f1a4573b0442 100644
--- a/arch/blackfin/kernel/bfin_ksyms.c
+++ b/arch/blackfin/kernel/bfin_ksyms.c
@@ -38,16 +38,9 @@
38 38
39EXPORT_SYMBOL(__ioremap); 39EXPORT_SYMBOL(__ioremap);
40 40
41EXPORT_SYMBOL(ip_fast_csum);
42
43EXPORT_SYMBOL(kernel_thread);
44
45EXPORT_SYMBOL(is_in_rom); 41EXPORT_SYMBOL(is_in_rom);
46EXPORT_SYMBOL(bfin_return_from_exception); 42EXPORT_SYMBOL(bfin_return_from_exception);
47 43
48/* Networking helper routines. */
49EXPORT_SYMBOL(csum_partial_copy);
50
51/* The following are special because they're not called 44/* The following are special because they're not called
52 * explicitly (the C compiler generates them). Fortunately, 45 * explicitly (the C compiler generates them). Fortunately,
53 * their interface isn't gonna change any time soon now, so 46 * their interface isn't gonna change any time soon now, so
@@ -96,7 +89,6 @@ EXPORT_SYMBOL(insw_8);
96EXPORT_SYMBOL(outsl); 89EXPORT_SYMBOL(outsl);
97EXPORT_SYMBOL(insl); 90EXPORT_SYMBOL(insl);
98EXPORT_SYMBOL(insl_16); 91EXPORT_SYMBOL(insl_16);
99EXPORT_SYMBOL(irq_flags);
100EXPORT_SYMBOL(iounmap); 92EXPORT_SYMBOL(iounmap);
101EXPORT_SYMBOL(blackfin_dcache_invalidate_range); 93EXPORT_SYMBOL(blackfin_dcache_invalidate_range);
102EXPORT_SYMBOL(blackfin_icache_dcache_flush_range); 94EXPORT_SYMBOL(blackfin_icache_dcache_flush_range);
@@ -104,7 +96,6 @@ EXPORT_SYMBOL(blackfin_icache_flush_range);
104EXPORT_SYMBOL(blackfin_dcache_flush_range); 96EXPORT_SYMBOL(blackfin_dcache_flush_range);
105EXPORT_SYMBOL(blackfin_dflush_page); 97EXPORT_SYMBOL(blackfin_dflush_page);
106 98
107EXPORT_SYMBOL(csum_partial);
108EXPORT_SYMBOL(__init_begin); 99EXPORT_SYMBOL(__init_begin);
109EXPORT_SYMBOL(__init_end); 100EXPORT_SYMBOL(__init_end);
110EXPORT_SYMBOL(_ebss_l1); 101EXPORT_SYMBOL(_ebss_l1);
diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c
index 0c3ea118b657..326e3019cd23 100644
--- a/arch/blackfin/kernel/process.c
+++ b/arch/blackfin/kernel/process.c
@@ -154,6 +154,7 @@ pid_t kernel_thread(int (*fn) (void *), void *arg, unsigned long flags)
154 return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, &regs, 0, NULL, 154 return do_fork(flags | CLONE_VM | CLONE_UNTRACED, 0, &regs, 0, NULL,
155 NULL); 155 NULL);
156} 156}
157EXPORT_SYMBOL(kernel_thread);
157 158
158void flush_thread(void) 159void flush_thread(void)
159{ 160{
diff --git a/arch/blackfin/lib/checksum.c b/arch/blackfin/lib/checksum.c
index 5c87505165d3..762a7f02970a 100644
--- a/arch/blackfin/lib/checksum.c
+++ b/arch/blackfin/lib/checksum.c
@@ -29,6 +29,7 @@
29 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 29 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
30 */ 30 */
31 31
32#include <linux/module.h>
32#include <net/checksum.h> 33#include <net/checksum.h>
33#include <asm/checksum.h> 34#include <asm/checksum.h>
34 35
@@ -76,6 +77,7 @@ __sum16 ip_fast_csum(unsigned char *iph, unsigned int ihl)
76{ 77{
77 return (__force __sum16)~do_csum(iph, ihl * 4); 78 return (__force __sum16)~do_csum(iph, ihl * 4);
78} 79}
80EXPORT_SYMBOL(ip_fast_csum);
79 81
80/* 82/*
81 * computes the checksum of a memory block at buff, length len, 83 * computes the checksum of a memory block at buff, length len,
@@ -104,6 +106,7 @@ __wsum csum_partial(const void *buff, int len, __wsum sum)
104 106
105 return sum; 107 return sum;
106} 108}
109EXPORT_SYMBOL(csum_partial);
107 110
108/* 111/*
109 * this routine is used for miscellaneous IP-like checksums, mainly 112 * this routine is used for miscellaneous IP-like checksums, mainly
@@ -137,3 +140,4 @@ __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum)
137 memcpy(dst, src, len); 140 memcpy(dst, src, len);
138 return csum_partial(dst, len, sum); 141 return csum_partial(dst, len, sum);
139} 142}
143EXPORT_SYMBOL(csum_partial_copy);
diff --git a/arch/blackfin/mach-common/ints-priority.c b/arch/blackfin/mach-common/ints-priority.c
index 67700e6c90c7..5ae507f59885 100644
--- a/arch/blackfin/mach-common/ints-priority.c
+++ b/arch/blackfin/mach-common/ints-priority.c
@@ -65,6 +65,7 @@
65 * cannot actually mask out in hardware. 65 * cannot actually mask out in hardware.
66 */ 66 */
67unsigned long irq_flags = 0x1f; 67unsigned long irq_flags = 0x1f;
68EXPORT_SYMBOL(irq_flags);
68 69
69/* The number of spurious interrupts */ 70/* The number of spurious interrupts */
70atomic_t num_spurious; 71atomic_t num_spurious;