forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/lib/copy_page.S
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * linux/arch/arm/lib/copypage.S
34 *
45 * Copyright (C) 1995-1999 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 * ASM optimised string functions
118 */
....@@ -39,9 +36,9 @@
3936 .endr
4037 subs r2, r2, #1 @ 1
4138 stmia r0!, {r3, r4, ip, lr} @ 4
42
- ldmgtia r1!, {r3, r4, ip, lr} @ 4
39
+ ldmiagt r1!, {r3, r4, ip, lr} @ 4
4340 bgt 1b @ 1
44
- PLD( ldmeqia r1!, {r3, r4, ip, lr} )
41
+ PLD( ldmiaeq r1!, {r3, r4, ip, lr} )
4542 PLD( beq 2b )
4643 ldmfd sp!, {r4, pc} @ 3
4744 ENDPROC(copy_page)