| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mm/copypage-v4wt.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 | * This is for CPUs with a writethrough cache and 'flush ID cache' is |
|---|
| 11 | 8 | * the only supported cache operation. |
|---|
| .. | .. |
|---|
| 25 | 22 | int tmp; |
|---|
| 26 | 23 | |
|---|
| 27 | 24 | asm volatile ("\ |
|---|
| 25 | + .syntax unified\n\ |
|---|
| 28 | 26 | ldmia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 29 | 27 | 1: stmia %0!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 30 | 28 | ldmia %1!, {r3, r4, ip, lr} @ 4+1\n\ |
|---|
| .. | .. |
|---|
| 34 | 32 | ldmia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 35 | 33 | subs %2, %2, #1 @ 1\n\ |
|---|
| 36 | 34 | stmia %0!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 37 | | - ldmneia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 35 | + ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 38 | 36 | bne 1b @ 1\n\ |
|---|
| 39 | 37 | mcr p15, 0, %2, c7, c7, 0 @ flush ID cache" |
|---|
| 40 | 38 | : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) |
|---|