.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * linux/arch/arm/mm/cache-v6.S |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2001 Deep Blue Solutions Ltd. |
---|
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 | * This is the "shell" of the ARMv6 processor support. |
---|
11 | 8 | */ |
---|
.. | .. |
---|
215 | 212 | #endif |
---|
216 | 213 | tst r1, #D_CACHE_LINE_SIZE - 1 |
---|
217 | 214 | #ifdef CONFIG_DMA_CACHE_RWFO |
---|
218 | | - ldrneb r2, [r1, #-1] @ read for ownership |
---|
219 | | - strneb r2, [r1, #-1] @ write for ownership |
---|
| 215 | + ldrbne r2, [r1, #-1] @ read for ownership |
---|
| 216 | + strbne r2, [r1, #-1] @ write for ownership |
---|
220 | 217 | #endif |
---|
221 | 218 | bic r1, r1, #D_CACHE_LINE_SIZE - 1 |
---|
222 | 219 | #ifdef HARVARD_CACHE |
---|
.. | .. |
---|
284 | 281 | add r0, r0, #D_CACHE_LINE_SIZE |
---|
285 | 282 | cmp r0, r1 |
---|
286 | 283 | #ifdef CONFIG_DMA_CACHE_RWFO |
---|
287 | | - ldrlob r2, [r0] @ read for ownership |
---|
288 | | - strlob r2, [r0] @ write for ownership |
---|
| 284 | + ldrblo r2, [r0] @ read for ownership |
---|
| 285 | + strblo r2, [r0] @ write for ownership |
---|
289 | 286 | #endif |
---|
290 | 287 | blo 1b |
---|
291 | 288 | mov r0, #0 |
---|