| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/mm/copypage-v4wb.c |
|---|
| 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 | #include <linux/init.h> |
|---|
| 11 | 8 | #include <linux/highmem.h> |
|---|
| .. | .. |
|---|
| 27 | 24 | int tmp; |
|---|
| 28 | 25 | |
|---|
| 29 | 26 | asm volatile ("\ |
|---|
| 27 | + .syntax unified\n\ |
|---|
| 30 | 28 | ldmia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 31 | 29 | 1: mcr p15, 0, %0, c7, c6, 1 @ 1 invalidate D line\n\ |
|---|
| 32 | 30 | stmia %0!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| .. | .. |
|---|
| 38 | 36 | ldmia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 39 | 37 | subs %2, %2, #1 @ 1\n\ |
|---|
| 40 | 38 | stmia %0!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 41 | | - ldmneia %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 39 | + ldmiane %1!, {r3, r4, ip, lr} @ 4\n\ |
|---|
| 42 | 40 | bne 1b @ 1\n\ |
|---|
| 43 | 41 | mcr p15, 0, %1, c7, c10, 4 @ 1 drain WB" |
|---|
| 44 | 42 | : "+&r" (kto), "+&r" (kfrom), "=&r" (tmp) |
|---|