aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/lib/strncpy_from_user.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/lib/strncpy_from_user.S')
-rw-r--r--arch/arm/lib/strncpy_from_user.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/lib/strncpy_from_user.S b/arch/arm/lib/strncpy_from_user.S
index 1c9814f346c..f202d7bd164 100644
--- a/arch/arm/lib/strncpy_from_user.S
+++ b/arch/arm/lib/strncpy_from_user.S
@@ -33,11 +33,11 @@ ENTRY(__strncpy_from_user)
mov pc, lr
ENDPROC(__strncpy_from_user)
- .section .fixup,"ax"
+ .pushsection .fixup,"ax"
.align 0
9001: mov r3, #0
strb r3, [r0, #0] @ null terminate
mov r0, #-EFAULT
mov pc, lr
- .previous
+ .popsection