forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/lib/io-readsw-armv3.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/lib/io-readsw-armv3.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>
....@@ -68,7 +65,7 @@
6865 bpl .Linsw_8_lp
6966
7067 tst r2, #7
71
- ldmeqfd sp!, {r4, r5, r6, pc}
68
+ ldmfdeq sp!, {r4, r5, r6, pc}
7269
7370 .Lno_insw_8: tst r2, #4
7471 beq .Lno_insw_4
....@@ -97,9 +94,9 @@
9794
9895 .Lno_insw_2: tst r2, #1
9996 ldrne r3, [r0]
100
- strneb r3, [r1], #1
97
+ strbne r3, [r1], #1
10198 movne r3, r3, lsr #8
102
- strneb r3, [r1]
99
+ strbne r3, [r1]
103100
104101 ldmfd sp!, {r4, r5, r6, pc}
105102