diff options
author | Linas Vepstas <linas@codeaurora.org> | 2011-10-31 19:40:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-11-01 10:34:19 -0400 |
commit | b39e293e1ded23f8ec086d5aeeb41a5ecc846aa6 (patch) | |
tree | d5d62e3f7dd0fa1baa782f1a76e747a32fb827c6 /arch/hexagon | |
parent | e49ee2906c94cd6a339b2012c23e39d1a39f79e3 (diff) |
Hexagon: Export ksyms defined in assembly files.
Signed-off-by: Linas Vepstas <linas@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/hexagon')
-rw-r--r-- | arch/hexagon/kernel/hexagon_ksyms.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/hexagon/kernel/hexagon_ksyms.c b/arch/hexagon/kernel/hexagon_ksyms.c new file mode 100644 index 000000000000..7f1892471805 --- /dev/null +++ b/arch/hexagon/kernel/hexagon_ksyms.c | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | * Export of symbols defined in assembly files and/or libgcc. | ||
3 | * | ||
4 | * Copyright (c) 2010-2011, Code Aurora Forum. All rights reserved. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 and | ||
8 | * only version 2 as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
18 | * 02110-1301, USA. | ||
19 | */ | ||
20 | |||
21 | #include <asm/hexagon_vm.h> | ||
22 | #include <asm/uaccess.h> | ||
23 | |||
24 | EXPORT_SYMBOL(__copy_from_user_hexagon); | ||
25 | EXPORT_SYMBOL(__copy_to_user_hexagon); | ||
26 | EXPORT_SYMBOL(__vmgetie); | ||
27 | EXPORT_SYMBOL(__vmsetie); | ||
28 | EXPORT_SYMBOL(memcpy); | ||
29 | EXPORT_SYMBOL(memset); | ||
30 | |||
31 | #define DECLARE_EXPORT(name) \ | ||
32 | extern void name(void); EXPORT_SYMBOL(name) | ||
33 | |||
34 | /* Symbols found in libgcc that assorted kernel modules need */ | ||
35 | DECLARE_EXPORT(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes); | ||
36 | |||
37 | DECLARE_EXPORT(__hexagon_divsi3); | ||
38 | DECLARE_EXPORT(__hexagon_modsi3); | ||
39 | DECLARE_EXPORT(__hexagon_udivsi3); | ||
40 | DECLARE_EXPORT(__hexagon_umodsi3); | ||