forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 748e4f3d702def1a4bff191e0cf93b6a05340f01
kernel/arch/arm/lib/copy_template.S
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/lib/copy_template.s
34 *
....@@ -6,10 +7,6 @@
67 * Author: Nicolas Pitre
78 * Created: Sep 28, 2005
89 * Copyright: MontaVista Software, Inc.
9
- *
10
- * This program is free software; you can redistribute it and/or modify
11
- * it under the terms of the GNU General Public License version 2 as
12
- * published by the Free Software Foundation.
1310 */
1411
1512 /*
....@@ -99,7 +96,7 @@
9996
10097 CALGN( ands ip, r0, #31 )
10198 CALGN( rsb r3, ip, #32 )
102
- CALGN( sbcnes r4, r3, r2 ) @ C is always set here
99
+ CALGN( sbcsne r4, r3, r2 ) @ C is always set here
103100 CALGN( bcs 2f )
104101 CALGN( adr r4, 6f )
105102 CALGN( subs r2, r2, r3 ) @ C gets set
....@@ -204,7 +201,7 @@
204201
205202 CALGN( ands ip, r0, #31 )
206203 CALGN( rsb ip, ip, #32 )
207
- CALGN( sbcnes r4, ip, r2 ) @ C is always set here
204
+ CALGN( sbcsne r4, ip, r2 ) @ C is always set here
208205 CALGN( subcc r2, r2, ip )
209206 CALGN( bcc 15f )
210207
....@@ -241,7 +238,7 @@
241238 orr r9, r9, ip, lspush #\push
242239 mov ip, ip, lspull #\pull
243240 orr ip, ip, lr, lspush #\push
244
- str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, , abort=19f
241
+ str8w r0, r3, r4, r5, r6, r7, r8, r9, ip, abort=19f
245242 bge 12b
246243 PLD( cmn r2, #96 )
247244 PLD( bge 13b )