diff options
Diffstat (limited to 'arch/c6x/kernel/c6x_ksyms.c')
-rw-r--r-- | arch/c6x/kernel/c6x_ksyms.c | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/arch/c6x/kernel/c6x_ksyms.c b/arch/c6x/kernel/c6x_ksyms.c new file mode 100644 index 000000000000..0ba3e0bba3e1 --- /dev/null +++ b/arch/c6x/kernel/c6x_ksyms.c | |||
@@ -0,0 +1,66 @@ | |||
1 | /* | ||
2 | * Port on Texas Instruments TMS320C6x architecture | ||
3 | * | ||
4 | * Copyright (C) 2004, 2009, 2010, 2011 Texas Instruments Incorporated | ||
5 | * Author: Aurelien Jacquiot (aurelien.jacquiot@jaluna.com) | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | */ | ||
12 | #include <linux/module.h> | ||
13 | #include <asm/checksum.h> | ||
14 | #include <linux/io.h> | ||
15 | |||
16 | /* | ||
17 | * libgcc functions - used internally by the compiler... | ||
18 | */ | ||
19 | extern int __c6xabi_divi(int dividend, int divisor); | ||
20 | EXPORT_SYMBOL(__c6xabi_divi); | ||
21 | |||
22 | extern unsigned __c6xabi_divu(unsigned dividend, unsigned divisor); | ||
23 | EXPORT_SYMBOL(__c6xabi_divu); | ||
24 | |||
25 | extern int __c6xabi_remi(int dividend, int divisor); | ||
26 | EXPORT_SYMBOL(__c6xabi_remi); | ||
27 | |||
28 | extern unsigned __c6xabi_remu(unsigned dividend, unsigned divisor); | ||
29 | EXPORT_SYMBOL(__c6xabi_remu); | ||
30 | |||
31 | extern int __c6xabi_divremi(int dividend, int divisor); | ||
32 | EXPORT_SYMBOL(__c6xabi_divremi); | ||
33 | |||
34 | extern unsigned __c6xabi_divremu(unsigned dividend, unsigned divisor); | ||
35 | EXPORT_SYMBOL(__c6xabi_divremu); | ||
36 | |||
37 | extern unsigned long long __c6xabi_mpyll(unsigned long long src1, | ||
38 | unsigned long long src2); | ||
39 | EXPORT_SYMBOL(__c6xabi_mpyll); | ||
40 | |||
41 | extern long long __c6xabi_negll(long long src); | ||
42 | EXPORT_SYMBOL(__c6xabi_negll); | ||
43 | |||
44 | extern unsigned long long __c6xabi_llshl(unsigned long long src1, uint src2); | ||
45 | EXPORT_SYMBOL(__c6xabi_llshl); | ||
46 | |||
47 | extern long long __c6xabi_llshr(long long src1, uint src2); | ||
48 | EXPORT_SYMBOL(__c6xabi_llshr); | ||
49 | |||
50 | extern unsigned long long __c6xabi_llshru(unsigned long long src1, uint src2); | ||
51 | EXPORT_SYMBOL(__c6xabi_llshru); | ||
52 | |||
53 | extern void __c6xabi_strasgi(int *dst, const int *src, unsigned cnt); | ||
54 | EXPORT_SYMBOL(__c6xabi_strasgi); | ||
55 | |||
56 | extern void __c6xabi_push_rts(void); | ||
57 | EXPORT_SYMBOL(__c6xabi_push_rts); | ||
58 | |||
59 | extern void __c6xabi_pop_rts(void); | ||
60 | EXPORT_SYMBOL(__c6xabi_pop_rts); | ||
61 | |||
62 | extern void __c6xabi_strasgi_64plus(int *dst, const int *src, unsigned cnt); | ||
63 | EXPORT_SYMBOL(__c6xabi_strasgi_64plus); | ||
64 | |||
65 | /* lib functions */ | ||
66 | EXPORT_SYMBOL(memcpy); | ||