| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/lib/io-readsw-armv3.S |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | #include <linux/linkage.h> |
|---|
| 11 | 8 | #include <asm/assembler.h> |
|---|
| .. | .. |
|---|
| 68 | 65 | bpl .Linsw_8_lp |
|---|
| 69 | 66 | |
|---|
| 70 | 67 | tst r2, #7 |
|---|
| 71 | | - ldmeqfd sp!, {r4, r5, r6, pc} |
|---|
| 68 | + ldmfdeq sp!, {r4, r5, r6, pc} |
|---|
| 72 | 69 | |
|---|
| 73 | 70 | .Lno_insw_8: tst r2, #4 |
|---|
| 74 | 71 | beq .Lno_insw_4 |
|---|
| .. | .. |
|---|
| 97 | 94 | |
|---|
| 98 | 95 | .Lno_insw_2: tst r2, #1 |
|---|
| 99 | 96 | ldrne r3, [r0] |
|---|
| 100 | | - strneb r3, [r1], #1 |
|---|
| 97 | + strbne r3, [r1], #1 |
|---|
| 101 | 98 | movne r3, r3, lsr #8 |
|---|
| 102 | | - strneb r3, [r1] |
|---|
| 99 | + strbne r3, [r1] |
|---|
| 103 | 100 | |
|---|
| 104 | 101 | ldmfd sp!, {r4, r5, r6, pc} |
|---|
| 105 | 102 | |
|---|