Merge branch 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm

Pull ARM fix from Russell King:
"This resolves the ksyms issues by reverting the commit which
introduced the breakage"

There was what I consider to be a better fix, but it's late in the rc
game, so I'll take the revert.

* 'fixes' of git://git.armlinux.org.uk/~rmk/linux-arm:
Revert "arm: move exports to definitions"

-1
arch/arm/include/asm/Kbuild
··· 8 8 generic-y += emergency-restart.h 9 9 generic-y += errno.h 10 10 generic-y += exec.h 11 - generic-y += export.h 12 11 generic-y += ioctl.h 13 12 generic-y += ipcbuf.h 14 13 generic-y += irq_regs.h
+1 -1
arch/arm/kernel/Makefile
··· 33 33 obj-$(CONFIG_CPU_IDLE) += cpuidle.o 34 34 obj-$(CONFIG_ISA_DMA_API) += dma.o 35 35 obj-$(CONFIG_FIQ) += fiq.o fiqasm.o 36 - obj-$(CONFIG_MODULES) += module.o 36 + obj-$(CONFIG_MODULES) += armksyms.o module.o 37 37 obj-$(CONFIG_ARM_MODULE_PLTS) += module-plts.o 38 38 obj-$(CONFIG_ISA_DMA) += dma-isa.o 39 39 obj-$(CONFIG_PCI) += bios32.o isa.o
+183
arch/arm/kernel/armksyms.c
··· 1 + /* 2 + * linux/arch/arm/kernel/armksyms.c 3 + * 4 + * Copyright (C) 2000 Russell King 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 as 8 + * published by the Free Software Foundation. 9 + */ 10 + #include <linux/export.h> 11 + #include <linux/sched.h> 12 + #include <linux/string.h> 13 + #include <linux/cryptohash.h> 14 + #include <linux/delay.h> 15 + #include <linux/in6.h> 16 + #include <linux/syscalls.h> 17 + #include <linux/uaccess.h> 18 + #include <linux/io.h> 19 + #include <linux/arm-smccc.h> 20 + 21 + #include <asm/checksum.h> 22 + #include <asm/ftrace.h> 23 + 24 + /* 25 + * libgcc functions - functions that are used internally by the 26 + * compiler... (prototypes are not correct though, but that 27 + * doesn't really matter since they're not versioned). 28 + */ 29 + extern void __ashldi3(void); 30 + extern void __ashrdi3(void); 31 + extern void __divsi3(void); 32 + extern void __lshrdi3(void); 33 + extern void __modsi3(void); 34 + extern void __muldi3(void); 35 + extern void __ucmpdi2(void); 36 + extern void __udivsi3(void); 37 + extern void __umodsi3(void); 38 + extern void __do_div64(void); 39 + extern void __bswapsi2(void); 40 + extern void __bswapdi2(void); 41 + 42 + extern void __aeabi_idiv(void); 43 + extern void __aeabi_idivmod(void); 44 + extern void __aeabi_lasr(void); 45 + extern void __aeabi_llsl(void); 46 + extern void __aeabi_llsr(void); 47 + extern void __aeabi_lmul(void); 48 + extern void __aeabi_uidiv(void); 49 + extern void __aeabi_uidivmod(void); 50 + extern void __aeabi_ulcmp(void); 51 + 52 + extern void fpundefinstr(void); 53 + 54 + void mmioset(void *, unsigned int, size_t); 55 + void mmiocpy(void *, const void *, size_t); 56 + 57 + /* platform dependent support */ 58 + EXPORT_SYMBOL(arm_delay_ops); 59 + 60 + /* networking */ 61 + EXPORT_SYMBOL(csum_partial); 62 + EXPORT_SYMBOL(csum_partial_copy_from_user); 63 + EXPORT_SYMBOL(csum_partial_copy_nocheck); 64 + EXPORT_SYMBOL(__csum_ipv6_magic); 65 + 66 + /* io */ 67 + #ifndef __raw_readsb 68 + EXPORT_SYMBOL(__raw_readsb); 69 + #endif 70 + #ifndef __raw_readsw 71 + EXPORT_SYMBOL(__raw_readsw); 72 + #endif 73 + #ifndef __raw_readsl 74 + EXPORT_SYMBOL(__raw_readsl); 75 + #endif 76 + #ifndef __raw_writesb 77 + EXPORT_SYMBOL(__raw_writesb); 78 + #endif 79 + #ifndef __raw_writesw 80 + EXPORT_SYMBOL(__raw_writesw); 81 + #endif 82 + #ifndef __raw_writesl 83 + EXPORT_SYMBOL(__raw_writesl); 84 + #endif 85 + 86 + /* string / mem functions */ 87 + EXPORT_SYMBOL(strchr); 88 + EXPORT_SYMBOL(strrchr); 89 + EXPORT_SYMBOL(memset); 90 + EXPORT_SYMBOL(memcpy); 91 + EXPORT_SYMBOL(memmove); 92 + EXPORT_SYMBOL(memchr); 93 + EXPORT_SYMBOL(__memzero); 94 + 95 + EXPORT_SYMBOL(mmioset); 96 + EXPORT_SYMBOL(mmiocpy); 97 + 98 + #ifdef CONFIG_MMU 99 + EXPORT_SYMBOL(copy_page); 100 + 101 + EXPORT_SYMBOL(arm_copy_from_user); 102 + EXPORT_SYMBOL(arm_copy_to_user); 103 + EXPORT_SYMBOL(arm_clear_user); 104 + 105 + EXPORT_SYMBOL(__get_user_1); 106 + EXPORT_SYMBOL(__get_user_2); 107 + EXPORT_SYMBOL(__get_user_4); 108 + EXPORT_SYMBOL(__get_user_8); 109 + 110 + #ifdef __ARMEB__ 111 + EXPORT_SYMBOL(__get_user_64t_1); 112 + EXPORT_SYMBOL(__get_user_64t_2); 113 + EXPORT_SYMBOL(__get_user_64t_4); 114 + EXPORT_SYMBOL(__get_user_32t_8); 115 + #endif 116 + 117 + EXPORT_SYMBOL(__put_user_1); 118 + EXPORT_SYMBOL(__put_user_2); 119 + EXPORT_SYMBOL(__put_user_4); 120 + EXPORT_SYMBOL(__put_user_8); 121 + #endif 122 + 123 + /* gcc lib functions */ 124 + EXPORT_SYMBOL(__ashldi3); 125 + EXPORT_SYMBOL(__ashrdi3); 126 + EXPORT_SYMBOL(__divsi3); 127 + EXPORT_SYMBOL(__lshrdi3); 128 + EXPORT_SYMBOL(__modsi3); 129 + EXPORT_SYMBOL(__muldi3); 130 + EXPORT_SYMBOL(__ucmpdi2); 131 + EXPORT_SYMBOL(__udivsi3); 132 + EXPORT_SYMBOL(__umodsi3); 133 + EXPORT_SYMBOL(__do_div64); 134 + EXPORT_SYMBOL(__bswapsi2); 135 + EXPORT_SYMBOL(__bswapdi2); 136 + 137 + #ifdef CONFIG_AEABI 138 + EXPORT_SYMBOL(__aeabi_idiv); 139 + EXPORT_SYMBOL(__aeabi_idivmod); 140 + EXPORT_SYMBOL(__aeabi_lasr); 141 + EXPORT_SYMBOL(__aeabi_llsl); 142 + EXPORT_SYMBOL(__aeabi_llsr); 143 + EXPORT_SYMBOL(__aeabi_lmul); 144 + EXPORT_SYMBOL(__aeabi_uidiv); 145 + EXPORT_SYMBOL(__aeabi_uidivmod); 146 + EXPORT_SYMBOL(__aeabi_ulcmp); 147 + #endif 148 + 149 + /* bitops */ 150 + EXPORT_SYMBOL(_set_bit); 151 + EXPORT_SYMBOL(_test_and_set_bit); 152 + EXPORT_SYMBOL(_clear_bit); 153 + EXPORT_SYMBOL(_test_and_clear_bit); 154 + EXPORT_SYMBOL(_change_bit); 155 + EXPORT_SYMBOL(_test_and_change_bit); 156 + EXPORT_SYMBOL(_find_first_zero_bit_le); 157 + EXPORT_SYMBOL(_find_next_zero_bit_le); 158 + EXPORT_SYMBOL(_find_first_bit_le); 159 + EXPORT_SYMBOL(_find_next_bit_le); 160 + 161 + #ifdef __ARMEB__ 162 + EXPORT_SYMBOL(_find_first_zero_bit_be); 163 + EXPORT_SYMBOL(_find_next_zero_bit_be); 164 + EXPORT_SYMBOL(_find_first_bit_be); 165 + EXPORT_SYMBOL(_find_next_bit_be); 166 + #endif 167 + 168 + #ifdef CONFIG_FUNCTION_TRACER 169 + #ifdef CONFIG_OLD_MCOUNT 170 + EXPORT_SYMBOL(mcount); 171 + #endif 172 + EXPORT_SYMBOL(__gnu_mcount_nc); 173 + #endif 174 + 175 + #ifdef CONFIG_ARM_PATCH_PHYS_VIRT 176 + EXPORT_SYMBOL(__pv_phys_pfn_offset); 177 + EXPORT_SYMBOL(__pv_offset); 178 + #endif 179 + 180 + #ifdef CONFIG_HAVE_ARM_SMCCC 181 + EXPORT_SYMBOL(arm_smccc_smc); 182 + EXPORT_SYMBOL(arm_smccc_hvc); 183 + #endif
-3
arch/arm/kernel/entry-ftrace.S
··· 7 7 #include <asm/assembler.h> 8 8 #include <asm/ftrace.h> 9 9 #include <asm/unwind.h> 10 - #include <asm/export.h> 11 10 12 11 #include "entry-header.S" 13 12 ··· 153 154 __mcount _old 154 155 #endif 155 156 ENDPROC(mcount) 156 - EXPORT_SYMBOL(mcount) 157 157 158 158 #ifdef CONFIG_DYNAMIC_FTRACE 159 159 ENTRY(ftrace_caller_old) ··· 205 207 #endif 206 208 UNWIND(.fnend) 207 209 ENDPROC(__gnu_mcount_nc) 208 - EXPORT_SYMBOL(__gnu_mcount_nc) 209 210 210 211 #ifdef CONFIG_DYNAMIC_FTRACE 211 212 ENTRY(ftrace_caller)
-3
arch/arm/kernel/head.S
··· 22 22 #include <asm/memory.h> 23 23 #include <asm/thread_info.h> 24 24 #include <asm/pgtable.h> 25 - #include <asm/export.h> 26 25 27 26 #if defined(CONFIG_DEBUG_LL) && !defined(CONFIG_DEBUG_SEMIHOSTING) 28 27 #include CONFIG_DEBUG_LL_INCLUDE ··· 727 728 __pv_offset: 728 729 .quad 0 729 730 .size __pv_offset, . -__pv_offset 730 - EXPORT_SYMBOL(__pv_phys_pfn_offset) 731 - EXPORT_SYMBOL(__pv_offset) 732 731 #endif 733 732 734 733 #include "head-common.S"
-3
arch/arm/kernel/smccc-call.S
··· 16 16 #include <asm/opcodes-sec.h> 17 17 #include <asm/opcodes-virt.h> 18 18 #include <asm/unwind.h> 19 - #include <asm/export.h> 20 19 21 20 /* 22 21 * Wrap c macros in asm macros to delay expansion until after the ··· 51 52 ENTRY(arm_smccc_smc) 52 53 SMCCC SMCCC_SMC 53 54 ENDPROC(arm_smccc_smc) 54 - EXPORT_SYMBOL(arm_smccc_smc) 55 55 56 56 /* 57 57 * void smccc_hvc(unsigned long a0, unsigned long a1, unsigned long a2, ··· 60 62 ENTRY(arm_smccc_hvc) 61 63 SMCCC SMCCC_HVC 62 64 ENDPROC(arm_smccc_hvc) 63 - EXPORT_SYMBOL(arm_smccc_hvc)
-3
arch/arm/lib/ashldi3.S
··· 28 28 29 29 #include <linux/linkage.h> 30 30 #include <asm/assembler.h> 31 - #include <asm/export.h> 32 31 33 32 #ifdef __ARMEB__ 34 33 #define al r1 ··· 52 53 53 54 ENDPROC(__ashldi3) 54 55 ENDPROC(__aeabi_llsl) 55 - EXPORT_SYMBOL(__ashldi3) 56 - EXPORT_SYMBOL(__aeabi_llsl)
-3
arch/arm/lib/ashrdi3.S
··· 28 28 29 29 #include <linux/linkage.h> 30 30 #include <asm/assembler.h> 31 - #include <asm/export.h> 32 31 33 32 #ifdef __ARMEB__ 34 33 #define al r1 ··· 52 53 53 54 ENDPROC(__ashrdi3) 54 55 ENDPROC(__aeabi_lasr) 55 - EXPORT_SYMBOL(__ashrdi3) 56 - EXPORT_SYMBOL(__aeabi_lasr)
-5
arch/arm/lib/bitops.h
··· 1 1 #include <asm/assembler.h> 2 2 #include <asm/unwind.h> 3 - #include <asm/export.h> 4 3 5 4 #if __LINUX_ARM_ARCH__ >= 6 6 5 .macro bitop, name, instr ··· 25 26 bx lr 26 27 UNWIND( .fnend ) 27 28 ENDPROC(\name ) 28 - EXPORT_SYMBOL(\name ) 29 29 .endm 30 30 31 31 .macro testop, name, instr, store ··· 55 57 2: bx lr 56 58 UNWIND( .fnend ) 57 59 ENDPROC(\name ) 58 - EXPORT_SYMBOL(\name ) 59 60 .endm 60 61 #else 61 62 .macro bitop, name, instr ··· 74 77 ret lr 75 78 UNWIND( .fnend ) 76 79 ENDPROC(\name ) 77 - EXPORT_SYMBOL(\name ) 78 80 .endm 79 81 80 82 /** ··· 102 106 ret lr 103 107 UNWIND( .fnend ) 104 108 ENDPROC(\name ) 105 - EXPORT_SYMBOL(\name ) 106 109 .endm 107 110 #endif
-3
arch/arm/lib/bswapsdi2.S
··· 1 1 #include <linux/linkage.h> 2 2 #include <asm/assembler.h> 3 - #include <asm/export.h> 4 3 5 4 #if __LINUX_ARM_ARCH__ >= 6 6 5 ENTRY(__bswapsi2) ··· 35 36 ret lr 36 37 ENDPROC(__bswapdi2) 37 38 #endif 38 - EXPORT_SYMBOL(__bswapsi2) 39 - EXPORT_SYMBOL(__bswapdi2)
-4
arch/arm/lib/clear_user.S
··· 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 12 #include <asm/unwind.h> 13 - #include <asm/export.h> 14 13 15 14 .text 16 15 ··· 50 51 UNWIND(.fnend) 51 52 ENDPROC(arm_clear_user) 52 53 ENDPROC(__clear_user_std) 53 - #ifndef CONFIG_UACCESS_WITH_MEMCPY 54 - EXPORT_SYMBOL(arm_clear_user) 55 - #endif 56 54 57 55 .pushsection .text.fixup,"ax" 58 56 .align 0
-2
arch/arm/lib/copy_from_user.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 15 #include <asm/unwind.h> 16 - #include <asm/export.h> 17 16 18 17 /* 19 18 * Prototype: ··· 94 95 #include "copy_template.S" 95 96 96 97 ENDPROC(arm_copy_from_user) 97 - EXPORT_SYMBOL(arm_copy_from_user) 98 98 99 99 .pushsection .fixup,"ax" 100 100 .align 0
-2
arch/arm/lib/copy_page.S
··· 13 13 #include <asm/assembler.h> 14 14 #include <asm/asm-offsets.h> 15 15 #include <asm/cache.h> 16 - #include <asm/export.h> 17 16 18 17 #define COPY_COUNT (PAGE_SZ / (2 * L1_CACHE_BYTES) PLD( -1 )) 19 18 ··· 45 46 PLD( beq 2b ) 46 47 ldmfd sp!, {r4, pc} @ 3 47 48 ENDPROC(copy_page) 48 - EXPORT_SYMBOL(copy_page)
-4
arch/arm/lib/copy_to_user.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 15 #include <asm/unwind.h> 16 - #include <asm/export.h> 17 16 18 17 /* 19 18 * Prototype: ··· 99 100 100 101 ENDPROC(arm_copy_to_user) 101 102 ENDPROC(__copy_to_user_std) 102 - #ifndef CONFIG_UACCESS_WITH_MEMCPY 103 - EXPORT_SYMBOL(arm_copy_to_user) 104 - #endif 105 103 106 104 .pushsection .text.fixup,"ax" 107 105 .align 0
+1 -2
arch/arm/lib/csumipv6.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .text 15 14 ··· 30 31 adcs r0, r0, #0 31 32 ldmfd sp!, {pc} 32 33 ENDPROC(__csum_ipv6_magic) 33 - EXPORT_SYMBOL(__csum_ipv6_magic) 34 +
-2
arch/arm/lib/csumpartial.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .text 15 14 ··· 140 141 bne 4b 141 142 b .Lless4 142 143 ENDPROC(csum_partial) 143 - EXPORT_SYMBOL(csum_partial)
-1
arch/arm/lib/csumpartialcopy.S
··· 49 49 50 50 #define FN_ENTRY ENTRY(csum_partial_copy_nocheck) 51 51 #define FN_EXIT ENDPROC(csum_partial_copy_nocheck) 52 - #define FN_EXPORT EXPORT_SYMBOL(csum_partial_copy_nocheck) 53 52 54 53 #include "csumpartialcopygeneric.S"
-2
arch/arm/lib/csumpartialcopygeneric.S
··· 8 8 * published by the Free Software Foundation. 9 9 */ 10 10 #include <asm/assembler.h> 11 - #include <asm/export.h> 12 11 13 12 /* 14 13 * unsigned int ··· 331 332 mov r5, r4, get_byte_1 332 333 b .Lexit 333 334 FN_EXIT 334 - FN_EXPORT
-1
arch/arm/lib/csumpartialcopyuser.S
··· 73 73 74 74 #define FN_ENTRY ENTRY(csum_partial_copy_from_user) 75 75 #define FN_EXIT ENDPROC(csum_partial_copy_from_user) 76 - #define FN_EXPORT EXPORT_SYMBOL(csum_partial_copy_from_user) 77 76 78 77 #include "csumpartialcopygeneric.S" 79 78
-2
arch/arm/lib/delay.c
··· 24 24 #include <linux/init.h> 25 25 #include <linux/kernel.h> 26 26 #include <linux/module.h> 27 - #include <linux/export.h> 28 27 #include <linux/timex.h> 29 28 30 29 /* ··· 34 35 .const_udelay = __loop_const_udelay, 35 36 .udelay = __loop_udelay, 36 37 }; 37 - EXPORT_SYMBOL(arm_delay_ops); 38 38 39 39 static const struct delay_timer *delay_timer; 40 40 static bool delay_calibrated;
-2
arch/arm/lib/div64.S
··· 15 15 #include <linux/linkage.h> 16 16 #include <asm/assembler.h> 17 17 #include <asm/unwind.h> 18 - #include <asm/export.h> 19 18 20 19 #ifdef __ARMEB__ 21 20 #define xh r0 ··· 210 211 211 212 UNWIND(.fnend) 212 213 ENDPROC(__do_div64) 213 - EXPORT_SYMBOL(__do_div64)
-9
arch/arm/lib/findbit.S
··· 15 15 */ 16 16 #include <linux/linkage.h> 17 17 #include <asm/assembler.h> 18 - #include <asm/export.h> 19 18 .text 20 19 21 20 /* ··· 37 38 3: mov r0, r1 @ no free bits 38 39 ret lr 39 40 ENDPROC(_find_first_zero_bit_le) 40 - EXPORT_SYMBOL(_find_first_zero_bit_le) 41 41 42 42 /* 43 43 * Purpose : Find next 'zero' bit ··· 57 59 add r2, r2, #1 @ align bit pointer 58 60 b 2b @ loop for next bit 59 61 ENDPROC(_find_next_zero_bit_le) 60 - EXPORT_SYMBOL(_find_next_zero_bit_le) 61 62 62 63 /* 63 64 * Purpose : Find a 'one' bit ··· 78 81 3: mov r0, r1 @ no free bits 79 82 ret lr 80 83 ENDPROC(_find_first_bit_le) 81 - EXPORT_SYMBOL(_find_first_bit_le) 82 84 83 85 /* 84 86 * Purpose : Find next 'one' bit ··· 97 101 add r2, r2, #1 @ align bit pointer 98 102 b 2b @ loop for next bit 99 103 ENDPROC(_find_next_bit_le) 100 - EXPORT_SYMBOL(_find_next_bit_le) 101 104 102 105 #ifdef __ARMEB__ 103 106 ··· 116 121 3: mov r0, r1 @ no free bits 117 122 ret lr 118 123 ENDPROC(_find_first_zero_bit_be) 119 - EXPORT_SYMBOL(_find_first_zero_bit_be) 120 124 121 125 ENTRY(_find_next_zero_bit_be) 122 126 teq r1, #0 ··· 133 139 add r2, r2, #1 @ align bit pointer 134 140 b 2b @ loop for next bit 135 141 ENDPROC(_find_next_zero_bit_be) 136 - EXPORT_SYMBOL(_find_next_zero_bit_be) 137 142 138 143 ENTRY(_find_first_bit_be) 139 144 teq r1, #0 ··· 150 157 3: mov r0, r1 @ no free bits 151 158 ret lr 152 159 ENDPROC(_find_first_bit_be) 153 - EXPORT_SYMBOL(_find_first_bit_be) 154 160 155 161 ENTRY(_find_next_bit_be) 156 162 teq r1, #0 ··· 166 174 add r2, r2, #1 @ align bit pointer 167 175 b 2b @ loop for next bit 168 176 ENDPROC(_find_next_bit_be) 169 - EXPORT_SYMBOL(_find_next_bit_be) 170 177 171 178 #endif 172 179
-9
arch/arm/lib/getuser.S
··· 31 31 #include <asm/assembler.h> 32 32 #include <asm/errno.h> 33 33 #include <asm/domain.h> 34 - #include <asm/export.h> 35 34 36 35 ENTRY(__get_user_1) 37 36 check_uaccess r0, 1, r1, r2, __get_user_bad ··· 38 39 mov r0, #0 39 40 ret lr 40 41 ENDPROC(__get_user_1) 41 - EXPORT_SYMBOL(__get_user_1) 42 42 43 43 ENTRY(__get_user_2) 44 44 check_uaccess r0, 2, r1, r2, __get_user_bad ··· 58 60 mov r0, #0 59 61 ret lr 60 62 ENDPROC(__get_user_2) 61 - EXPORT_SYMBOL(__get_user_2) 62 63 63 64 ENTRY(__get_user_4) 64 65 check_uaccess r0, 4, r1, r2, __get_user_bad ··· 65 68 mov r0, #0 66 69 ret lr 67 70 ENDPROC(__get_user_4) 68 - EXPORT_SYMBOL(__get_user_4) 69 71 70 72 ENTRY(__get_user_8) 71 73 check_uaccess r0, 8, r1, r2, __get_user_bad ··· 78 82 mov r0, #0 79 83 ret lr 80 84 ENDPROC(__get_user_8) 81 - EXPORT_SYMBOL(__get_user_8) 82 85 83 86 #ifdef __ARMEB__ 84 87 ENTRY(__get_user_32t_8) ··· 91 96 mov r0, #0 92 97 ret lr 93 98 ENDPROC(__get_user_32t_8) 94 - EXPORT_SYMBOL(__get_user_32t_8) 95 99 96 100 ENTRY(__get_user_64t_1) 97 101 check_uaccess r0, 1, r1, r2, __get_user_bad8 ··· 98 104 mov r0, #0 99 105 ret lr 100 106 ENDPROC(__get_user_64t_1) 101 - EXPORT_SYMBOL(__get_user_64t_1) 102 107 103 108 ENTRY(__get_user_64t_2) 104 109 check_uaccess r0, 2, r1, r2, __get_user_bad8 ··· 114 121 mov r0, #0 115 122 ret lr 116 123 ENDPROC(__get_user_64t_2) 117 - EXPORT_SYMBOL(__get_user_64t_2) 118 124 119 125 ENTRY(__get_user_64t_4) 120 126 check_uaccess r0, 4, r1, r2, __get_user_bad8 ··· 121 129 mov r0, #0 122 130 ret lr 123 131 ENDPROC(__get_user_64t_4) 124 - EXPORT_SYMBOL(__get_user_64t_4) 125 132 #endif 126 133 127 134 __get_user_bad8:
-2
arch/arm/lib/io-readsb.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .Linsb_align: rsb ip, ip, #4 15 14 cmp ip, r2 ··· 121 122 122 123 ldmfd sp!, {r4 - r6, pc} 123 124 ENDPROC(__raw_readsb) 124 - EXPORT_SYMBOL(__raw_readsb)
-2
arch/arm/lib/io-readsl.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 ENTRY(__raw_readsl) 15 14 teq r2, #0 @ do we have to check for the zero len? ··· 77 78 strb r3, [r1, #0] 78 79 ret lr 79 80 ENDPROC(__raw_readsl) 80 - EXPORT_SYMBOL(__raw_readsl)
+1 -2
arch/arm/lib/io-readsw-armv3.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .Linsw_bad_alignment: 15 14 adr r0, .Linsw_bad_align_msg ··· 103 104 104 105 ldmfd sp!, {r4, r5, r6, pc} 105 106 106 - EXPORT_SYMBOL(__raw_readsw) 107 +
-2
arch/arm/lib/io-readsw-armv4.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .macro pack, rd, hw1, hw2 15 14 #ifndef __ARMEB__ ··· 129 130 strneb ip, [r1] 130 131 ldmfd sp!, {r4, pc} 131 132 ENDPROC(__raw_readsw) 132 - EXPORT_SYMBOL(__raw_readsw)
-2
arch/arm/lib/io-writesb.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .macro outword, rd 15 14 #ifndef __ARMEB__ ··· 92 93 93 94 ldmfd sp!, {r4, r5, pc} 94 95 ENDPROC(__raw_writesb) 95 - EXPORT_SYMBOL(__raw_writesb)
-2
arch/arm/lib/io-writesl.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 ENTRY(__raw_writesl) 15 14 teq r2, #0 @ do we have to check for the zero len? ··· 65 66 bne 6b 66 67 ret lr 67 68 ENDPROC(__raw_writesl) 68 - EXPORT_SYMBOL(__raw_writesl)
-2
arch/arm/lib/io-writesw-armv3.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .Loutsw_bad_alignment: 15 14 adr r0, .Loutsw_bad_align_msg ··· 124 125 strne ip, [r0] 125 126 126 127 ldmfd sp!, {r4, r5, r6, pc} 127 - EXPORT_SYMBOL(__raw_writesw)
-2
arch/arm/lib/io-writesw-armv4.S
··· 9 9 */ 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 - #include <asm/export.h> 13 12 14 13 .macro outword, rd 15 14 #ifndef __ARMEB__ ··· 98 99 strneh ip, [r0] 99 100 ret lr 100 101 ENDPROC(__raw_writesw) 101 - EXPORT_SYMBOL(__raw_writesw)
-9
arch/arm/lib/lib1funcs.S
··· 36 36 #include <linux/linkage.h> 37 37 #include <asm/assembler.h> 38 38 #include <asm/unwind.h> 39 - #include <asm/export.h> 40 39 41 40 .macro ARM_DIV_BODY dividend, divisor, result, curbit 42 41 ··· 238 239 UNWIND(.fnend) 239 240 ENDPROC(__udivsi3) 240 241 ENDPROC(__aeabi_uidiv) 241 - EXPORT_SYMBOL(__udivsi3) 242 - EXPORT_SYMBOL(__aeabi_uidiv) 243 242 244 243 ENTRY(__umodsi3) 245 244 UNWIND(.fnstart) ··· 256 259 257 260 UNWIND(.fnend) 258 261 ENDPROC(__umodsi3) 259 - EXPORT_SYMBOL(__umodsi3) 260 262 261 263 #ifdef CONFIG_ARM_PATCH_IDIV 262 264 .align 3 ··· 303 307 UNWIND(.fnend) 304 308 ENDPROC(__divsi3) 305 309 ENDPROC(__aeabi_idiv) 306 - EXPORT_SYMBOL(__divsi3) 307 - EXPORT_SYMBOL(__aeabi_idiv) 308 310 309 311 ENTRY(__modsi3) 310 312 UNWIND(.fnstart) ··· 327 333 328 334 UNWIND(.fnend) 329 335 ENDPROC(__modsi3) 330 - EXPORT_SYMBOL(__modsi3) 331 336 332 337 #ifdef CONFIG_AEABI 333 338 ··· 343 350 344 351 UNWIND(.fnend) 345 352 ENDPROC(__aeabi_uidivmod) 346 - EXPORT_SYMBOL(__aeabi_uidivmod) 347 353 348 354 ENTRY(__aeabi_idivmod) 349 355 UNWIND(.fnstart) ··· 356 364 357 365 UNWIND(.fnend) 358 366 ENDPROC(__aeabi_idivmod) 359 - EXPORT_SYMBOL(__aeabi_idivmod) 360 367 361 368 #endif 362 369
-3
arch/arm/lib/lshrdi3.S
··· 28 28 29 29 #include <linux/linkage.h> 30 30 #include <asm/assembler.h> 31 - #include <asm/export.h> 32 31 33 32 #ifdef __ARMEB__ 34 33 #define al r1 ··· 52 53 53 54 ENDPROC(__lshrdi3) 54 55 ENDPROC(__aeabi_llsr) 55 - EXPORT_SYMBOL(__lshrdi3) 56 - EXPORT_SYMBOL(__aeabi_llsr)
-2
arch/arm/lib/memchr.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/export.h> 15 14 16 15 .text 17 16 .align 5 ··· 24 25 2: movne r0, #0 25 26 ret lr 26 27 ENDPROC(memchr) 27 - EXPORT_SYMBOL(memchr)
-3
arch/arm/lib/memcpy.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 15 #include <asm/unwind.h> 16 - #include <asm/export.h> 17 16 18 17 #define LDR1W_SHIFT 0 19 18 #define STR1W_SHIFT 0 ··· 68 69 69 70 ENDPROC(memcpy) 70 71 ENDPROC(mmiocpy) 71 - EXPORT_SYMBOL(memcpy) 72 - EXPORT_SYMBOL(mmiocpy)
-2
arch/arm/lib/memmove.S
··· 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 15 #include <asm/unwind.h> 16 - #include <asm/export.h> 17 16 18 17 .text 19 18 ··· 225 226 18: backward_copy_shift push=24 pull=8 226 227 227 228 ENDPROC(memmove) 228 - EXPORT_SYMBOL(memmove)
-3
arch/arm/lib/memset.S
··· 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 14 #include <asm/unwind.h> 15 - #include <asm/export.h> 16 15 17 16 .text 18 17 .align 5 ··· 135 136 UNWIND( .fnend ) 136 137 ENDPROC(memset) 137 138 ENDPROC(mmioset) 138 - EXPORT_SYMBOL(memset) 139 - EXPORT_SYMBOL(mmioset)
-2
arch/arm/lib/memzero.S
··· 10 10 #include <linux/linkage.h> 11 11 #include <asm/assembler.h> 12 12 #include <asm/unwind.h> 13 - #include <asm/export.h> 14 13 15 14 .text 16 15 .align 5 ··· 135 136 ret lr @ 1 136 137 UNWIND( .fnend ) 137 138 ENDPROC(__memzero) 138 - EXPORT_SYMBOL(__memzero)
-3
arch/arm/lib/muldi3.S
··· 12 12 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 - #include <asm/export.h> 16 15 17 16 #ifdef __ARMEB__ 18 17 #define xh r0 ··· 46 47 47 48 ENDPROC(__muldi3) 48 49 ENDPROC(__aeabi_lmul) 49 - EXPORT_SYMBOL(__muldi3) 50 - EXPORT_SYMBOL(__aeabi_lmul)
-5
arch/arm/lib/putuser.S
··· 31 31 #include <asm/assembler.h> 32 32 #include <asm/errno.h> 33 33 #include <asm/domain.h> 34 - #include <asm/export.h> 35 34 36 35 ENTRY(__put_user_1) 37 36 check_uaccess r0, 1, r1, ip, __put_user_bad ··· 38 39 mov r0, #0 39 40 ret lr 40 41 ENDPROC(__put_user_1) 41 - EXPORT_SYMBOL(__put_user_1) 42 42 43 43 ENTRY(__put_user_2) 44 44 check_uaccess r0, 2, r1, ip, __put_user_bad ··· 62 64 mov r0, #0 63 65 ret lr 64 66 ENDPROC(__put_user_2) 65 - EXPORT_SYMBOL(__put_user_2) 66 67 67 68 ENTRY(__put_user_4) 68 69 check_uaccess r0, 4, r1, ip, __put_user_bad ··· 69 72 mov r0, #0 70 73 ret lr 71 74 ENDPROC(__put_user_4) 72 - EXPORT_SYMBOL(__put_user_4) 73 75 74 76 ENTRY(__put_user_8) 75 77 check_uaccess r0, 8, r1, ip, __put_user_bad ··· 82 86 mov r0, #0 83 87 ret lr 84 88 ENDPROC(__put_user_8) 85 - EXPORT_SYMBOL(__put_user_8) 86 89 87 90 __put_user_bad: 88 91 mov r0, #-EFAULT
-2
arch/arm/lib/strchr.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/export.h> 15 14 16 15 .text 17 16 .align 5 ··· 25 26 subeq r0, r0, #1 26 27 ret lr 27 28 ENDPROC(strchr) 28 - EXPORT_SYMBOL(strchr)
-2
arch/arm/lib/strrchr.S
··· 11 11 */ 12 12 #include <linux/linkage.h> 13 13 #include <asm/assembler.h> 14 - #include <asm/export.h> 15 14 16 15 .text 17 16 .align 5 ··· 24 25 mov r0, r3 25 26 ret lr 26 27 ENDPROC(strrchr) 27 - EXPORT_SYMBOL(strrchr)
-3
arch/arm/lib/uaccess_with_memcpy.c
··· 19 19 #include <linux/gfp.h> 20 20 #include <linux/highmem.h> 21 21 #include <linux/hugetlb.h> 22 - #include <linux/export.h> 23 22 #include <asm/current.h> 24 23 #include <asm/page.h> 25 24 ··· 156 157 } 157 158 return n; 158 159 } 159 - EXPORT_SYMBOL(arm_copy_to_user); 160 160 161 161 static unsigned long noinline 162 162 __clear_user_memset(void __user *addr, unsigned long n) ··· 213 215 } 214 216 return n; 215 217 } 216 - EXPORT_SYMBOL(arm_clear_user); 217 218 218 219 #if 0 219 220
-3
arch/arm/lib/ucmpdi2.S
··· 12 12 13 13 #include <linux/linkage.h> 14 14 #include <asm/assembler.h> 15 - #include <asm/export.h> 16 15 17 16 #ifdef __ARMEB__ 18 17 #define xh r0 ··· 35 36 ret lr 36 37 37 38 ENDPROC(__ucmpdi2) 38 - EXPORT_SYMBOL(__ucmpdi2) 39 39 40 40 #ifdef CONFIG_AEABI 41 41 ··· 48 50 ret lr 49 51 50 52 ENDPROC(__aeabi_ulcmp) 51 - EXPORT_SYMBOL(__aeabi_ulcmp) 52 53 53 54 #endif 54 55
+1
arch/arm/mach-imx/Makefile
··· 32 32 33 33 ifdef CONFIG_SND_IMX_SOC 34 34 obj-y += ssi-fiq.o 35 + obj-y += ssi-fiq-ksym.o 35 36 endif 36 37 37 38 # i.MX21 based machines
+20
arch/arm/mach-imx/ssi-fiq-ksym.c
··· 1 + /* 2 + * Exported ksyms for the SSI FIQ handler 3 + * 4 + * Copyright (C) 2009, Sascha Hauer <s.hauer@pengutronix.de> 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 as 8 + * published by the Free Software Foundation. 9 + */ 10 + 11 + #include <linux/module.h> 12 + 13 + #include <linux/platform_data/asoc-imx-ssi.h> 14 + 15 + EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer); 16 + EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer); 17 + EXPORT_SYMBOL(imx_ssi_fiq_start); 18 + EXPORT_SYMBOL(imx_ssi_fiq_end); 19 + EXPORT_SYMBOL(imx_ssi_fiq_base); 20 +
+1 -6
arch/arm/mach-imx/ssi-fiq.S
··· 8 8 9 9 #include <linux/linkage.h> 10 10 #include <asm/assembler.h> 11 - #include <asm/export.h> 12 11 13 12 /* 14 13 * r8 = bit 0-15: tx offset, bit 16-31: tx buffer size ··· 144 145 .word 0x0 145 146 .L_imx_ssi_fiq_end: 146 147 imx_ssi_fiq_end: 147 - EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer) 148 - EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer) 149 - EXPORT_SYMBOL(imx_ssi_fiq_start) 150 - EXPORT_SYMBOL(imx_ssi_fiq_end) 151 - EXPORT_SYMBOL(imx_ssi_fiq_base) 148 +