.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Ptrace test for VMX/VSX registers in the TM context |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2015 Anshuman Khandual, IBM Corporation. |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or |
---|
7 | | - * modify it under the terms of the GNU General Public License |
---|
8 | | - * as published by the Free Software Foundation; either version |
---|
9 | | - * 2 of the License, or (at your option) any later version. |
---|
10 | 6 | */ |
---|
11 | 7 | #include "ptrace.h" |
---|
12 | 8 | #include "tm.h" |
---|
.. | .. |
---|
66 | 62 | "3: ;" |
---|
67 | 63 | : [res] "=r" (result), [texasr] "=r" (texasr) |
---|
68 | 64 | : [sprn_texasr] "i" (SPRN_TEXASR), [cptr1] "b" (&cptr[1]) |
---|
69 | | - : "memory", "r0", "r1", "r3", "r4", |
---|
70 | | - "r7", "r8", "r9", "r10", "r11" |
---|
| 65 | + : "memory", "r0", "r3", "r4", |
---|
| 66 | + "r7", "r8", "r9", "r10", "r11", "lr" |
---|
71 | 67 | ); |
---|
72 | 68 | |
---|
73 | 69 | if (result) { |
---|