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