diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2012-09-16 21:44:56 -0400 |
---|---|---|
committer | Chris Zankel <chris@zankel.net> | 2012-10-03 18:12:52 -0400 |
commit | d3738f407c8ced4fd17dccf6cce729023c735c73 (patch) | |
tree | 35b258dc29a368faea58d5641af58ec614233230 /arch/xtensa | |
parent | 715ec944f6a04e1ee3b6ae335e5071e0b2a7755c (diff) |
xtensa: add missing symbol exports
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/kernel/pci-dma.c | 4 | ||||
-rw-r--r-- | arch/xtensa/kernel/xtensa_ksyms.c | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/pci-dma.c b/arch/xtensa/kernel/pci-dma.c index 2783fda76ddc..2d9cc6dbfd78 100644 --- a/arch/xtensa/kernel/pci-dma.c +++ b/arch/xtensa/kernel/pci-dma.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/string.h> | 21 | #include <linux/string.h> |
22 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
23 | #include <linux/gfp.h> | 23 | #include <linux/gfp.h> |
24 | #include <linux/module.h> | ||
24 | #include <asm/io.h> | 25 | #include <asm/io.h> |
25 | #include <asm/cacheflush.h> | 26 | #include <asm/cacheflush.h> |
26 | 27 | ||
@@ -62,6 +63,7 @@ dma_alloc_coherent(struct device *dev,size_t size,dma_addr_t *handle,gfp_t flag) | |||
62 | 63 | ||
63 | return (void*)uncached; | 64 | return (void*)uncached; |
64 | } | 65 | } |
66 | EXPORT_SYMBOL(dma_alloc_coherent); | ||
65 | 67 | ||
66 | void dma_free_coherent(struct device *hwdev, size_t size, | 68 | void dma_free_coherent(struct device *hwdev, size_t size, |
67 | void *vaddr, dma_addr_t dma_handle) | 69 | void *vaddr, dma_addr_t dma_handle) |
@@ -73,6 +75,7 @@ void dma_free_coherent(struct device *hwdev, size_t size, | |||
73 | 75 | ||
74 | free_pages(addr, get_order(size)); | 76 | free_pages(addr, get_order(size)); |
75 | } | 77 | } |
78 | EXPORT_SYMBOL(dma_free_coherent); | ||
76 | 79 | ||
77 | 80 | ||
78 | void consistent_sync(void *vaddr, size_t size, int direction) | 81 | void consistent_sync(void *vaddr, size_t size, int direction) |
@@ -92,3 +95,4 @@ void consistent_sync(void *vaddr, size_t size, int direction) | |||
92 | break; | 95 | break; |
93 | } | 96 | } |
94 | } | 97 | } |
98 | EXPORT_SYMBOL(consistent_sync); | ||
diff --git a/arch/xtensa/kernel/xtensa_ksyms.c b/arch/xtensa/kernel/xtensa_ksyms.c index c9a7c5b74a0d..88fe2f2f376d 100644 --- a/arch/xtensa/kernel/xtensa_ksyms.c +++ b/arch/xtensa/kernel/xtensa_ksyms.c | |||
@@ -39,8 +39,12 @@ | |||
39 | EXPORT_SYMBOL(memset); | 39 | EXPORT_SYMBOL(memset); |
40 | EXPORT_SYMBOL(memcpy); | 40 | EXPORT_SYMBOL(memcpy); |
41 | EXPORT_SYMBOL(memmove); | 41 | EXPORT_SYMBOL(memmove); |
42 | EXPORT_SYMBOL(__strncpy_user); | ||
43 | EXPORT_SYMBOL(clear_page); | ||
44 | EXPORT_SYMBOL(copy_page); | ||
42 | 45 | ||
43 | EXPORT_SYMBOL(kernel_thread); | 46 | EXPORT_SYMBOL(kernel_thread); |
47 | EXPORT_SYMBOL(empty_zero_page); | ||
44 | 48 | ||
45 | /* | 49 | /* |
46 | * gcc internal math functions | 50 | * gcc internal math functions |
@@ -56,6 +60,7 @@ extern unsigned int __udivsi3(unsigned int, unsigned int); | |||
56 | extern unsigned int __umodsi3(unsigned int, unsigned int); | 60 | extern unsigned int __umodsi3(unsigned int, unsigned int); |
57 | extern unsigned long long __umoddi3(unsigned long long, unsigned long long); | 61 | extern unsigned long long __umoddi3(unsigned long long, unsigned long long); |
58 | extern unsigned long long __udivdi3(unsigned long long, unsigned long long); | 62 | extern unsigned long long __udivdi3(unsigned long long, unsigned long long); |
63 | extern int __ucmpdi2(int, int); | ||
59 | 64 | ||
60 | EXPORT_SYMBOL(__ashldi3); | 65 | EXPORT_SYMBOL(__ashldi3); |
61 | EXPORT_SYMBOL(__ashrdi3); | 66 | EXPORT_SYMBOL(__ashrdi3); |
@@ -68,11 +73,14 @@ EXPORT_SYMBOL(__udivsi3); | |||
68 | EXPORT_SYMBOL(__umodsi3); | 73 | EXPORT_SYMBOL(__umodsi3); |
69 | EXPORT_SYMBOL(__udivdi3); | 74 | EXPORT_SYMBOL(__udivdi3); |
70 | EXPORT_SYMBOL(__umoddi3); | 75 | EXPORT_SYMBOL(__umoddi3); |
76 | EXPORT_SYMBOL(__ucmpdi2); | ||
77 | EXPORT_SYMBOL(__xtensa_libgcc_window_spill); | ||
71 | 78 | ||
72 | #ifdef CONFIG_NET | 79 | #ifdef CONFIG_NET |
73 | /* | 80 | /* |
74 | * Networking support | 81 | * Networking support |
75 | */ | 82 | */ |
83 | EXPORT_SYMBOL(csum_partial); | ||
76 | EXPORT_SYMBOL(csum_partial_copy_generic); | 84 | EXPORT_SYMBOL(csum_partial_copy_generic); |
77 | #endif /* CONFIG_NET */ | 85 | #endif /* CONFIG_NET */ |
78 | 86 | ||