| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/lib/copypage.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | * |
|---|
| 10 | 7 | * ASM optimised string functions |
|---|
| 11 | 8 | */ |
|---|
| .. | .. |
|---|
| 39 | 36 | .endr |
|---|
| 40 | 37 | subs r2, r2, #1 @ 1 |
|---|
| 41 | 38 | stmia r0!, {r3, r4, ip, lr} @ 4 |
|---|
| 42 | | - ldmgtia r1!, {r3, r4, ip, lr} @ 4 |
|---|
| 39 | + ldmiagt r1!, {r3, r4, ip, lr} @ 4 |
|---|
| 43 | 40 | bgt 1b @ 1 |
|---|
| 44 | | - PLD( ldmeqia r1!, {r3, r4, ip, lr} ) |
|---|
| 41 | + PLD( ldmiaeq r1!, {r3, r4, ip, lr} ) |
|---|
| 45 | 42 | PLD( beq 2b ) |
|---|
| 46 | 43 | ldmfd sp!, {r4, pc} @ 3 |
|---|
| 47 | 44 | ENDPROC(copy_page) |
|---|