aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/lib/copy_to_user.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/copy_to_user.S')
-rw-r--r--arch/arm/lib/copy_to_user.S5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/lib/copy_to_user.S b/arch/arm/lib/copy_to_user.S
index 1a71e1584442..d066df686e17 100644
--- a/arch/arm/lib/copy_to_user.S
+++ b/arch/arm/lib/copy_to_user.S
@@ -93,13 +93,14 @@ WEAK(__copy_to_user)
93#include "copy_template.S" 93#include "copy_template.S"
94 94
95ENDPROC(__copy_to_user) 95ENDPROC(__copy_to_user)
96ENDPROC(__copy_to_user_std)
96 97
97 .section .fixup,"ax" 98 .pushsection .fixup,"ax"
98 .align 0 99 .align 0
99 copy_abort_preamble 100 copy_abort_preamble
100 ldmfd sp!, {r1, r2, r3} 101 ldmfd sp!, {r1, r2, r3}
101 sub r0, r0, r1 102 sub r0, r0, r1
102 rsb r0, r0, r2 103 rsb r0, r0, r2
103 copy_abort_end 104 copy_abort_end
104 .previous 105 .popsection
105 106