forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c
....@@ -1,12 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Ptrace test for VMX/VSX registers in the TM Suspend context
34 *
45 * 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.
106 */
117 #include "ptrace.h"
128 #include "tm.h"
....@@ -78,8 +74,8 @@
7874 "3: ;"
7975 : [res] "=r" (result), [texasr] "=r" (texasr)
8076 : [sprn_texasr] "i" (SPRN_TEXASR)
81
- : "memory", "r0", "r1", "r3", "r4",
82
- "r7", "r8", "r9", "r10", "r11"
77
+ : "memory", "r0", "r3", "r4",
78
+ "r7", "r8", "r9", "r10", "r11", "lr"
8379 );
8480
8581 if (result) {