| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/lib/memcpy.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Author: Nicolas Pitre |
|---|
| 5 | 6 | * Created: Sep 28, 2005 |
|---|
| 6 | 7 | * Copyright: MontaVista Software, Inc. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 9 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 10 | | - * published by the Free Software Foundation. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #include <linux/linkage.h> |
|---|
| .. | .. |
|---|
| 30 | 27 | .endm |
|---|
| 31 | 28 | |
|---|
| 32 | 29 | .macro ldr1b ptr reg cond=al abort |
|---|
| 33 | | - ldr\cond\()b \reg, [\ptr], #1 |
|---|
| 30 | + ldrb\cond \reg, [\ptr], #1 |
|---|
| 34 | 31 | .endm |
|---|
| 35 | 32 | |
|---|
| 36 | 33 | .macro str1w ptr reg abort |
|---|
| .. | .. |
|---|
| 42 | 39 | .endm |
|---|
| 43 | 40 | |
|---|
| 44 | 41 | .macro str1b ptr reg cond=al abort |
|---|
| 45 | | - str\cond\()b \reg, [\ptr], #1 |
|---|
| 42 | + strb\cond \reg, [\ptr], #1 |
|---|
| 46 | 43 | .endm |
|---|
| 47 | 44 | |
|---|
| 48 | 45 | .macro enter reg1 reg2 |
|---|