diff options
Diffstat (limited to 'arch/arm/lib/strncpy_from_user.S')
-rw-r--r-- | arch/arm/lib/strncpy_from_user.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/strncpy_from_user.S b/arch/arm/lib/strncpy_from_user.S index 330373c26dd9..1c9814f346c6 100644 --- a/arch/arm/lib/strncpy_from_user.S +++ b/arch/arm/lib/strncpy_from_user.S | |||
@@ -23,7 +23,7 @@ | |||
23 | ENTRY(__strncpy_from_user) | 23 | ENTRY(__strncpy_from_user) |
24 | mov ip, r1 | 24 | mov ip, r1 |
25 | 1: subs r2, r2, #1 | 25 | 1: subs r2, r2, #1 |
26 | USER( ldrplbt r3, [r1], #1) | 26 | ldrusr r3, r1, 1, pl |
27 | bmi 2f | 27 | bmi 2f |
28 | strb r3, [r0], #1 | 28 | strb r3, [r0], #1 |
29 | teq r3, #0 | 29 | teq r3, #0 |