hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/arm/lib/io-readsw-armv4.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/lib/io-readsw-armv4.S
34 *
45 * Copyright (C) 1995-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.
96 */
107 #include <linux/linkage.h>
118 #include <asm/assembler.h>
....@@ -76,8 +73,8 @@
7673 pack r3, r3, ip
7774 str r3, [r1], #4
7875
79
-.Lno_insw_2: ldrneh r3, [r0]
80
- strneh r3, [r1]
76
+.Lno_insw_2: ldrhne r3, [r0]
77
+ strhne r3, [r1]
8178
8279 ldmfd sp!, {r4, r5, pc}
8380
....@@ -94,7 +91,7 @@
9491 #endif
9592
9693 .Linsw_noalign: stmfd sp!, {r4, lr}
97
- ldrccb ip, [r1, #-1]!
94
+ ldrbcc ip, [r1, #-1]!
9895 bcc 1f
9996
10097 ldrh ip, [r0]
....@@ -121,11 +118,11 @@
121118
122119 3: tst r2, #1
123120 strb ip, [r1], #1
124
- ldrneh ip, [r0]
121
+ ldrhne ip, [r0]
125122 _BE_ONLY_( movne ip, ip, ror #8 )
126
- strneb ip, [r1], #1
123
+ strbne ip, [r1], #1
127124 _LE_ONLY_( movne ip, ip, lsr #8 )
128125 _BE_ONLY_( movne ip, ip, lsr #24 )
129
- strneb ip, [r1]
126
+ strbne ip, [r1]
130127 ldmfd sp!, {r4, pc}
131128 ENDPROC(__raw_readsw)