hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/arch/arc/kernel/entry-compact.S
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA
34 *
45 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com)
56 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License version 2 as
9
- * published by the Free Software Foundation.
107 *
118 * vineetg: May 2011
129 * -Userspace unaligned access emulation
....@@ -259,7 +256,7 @@
259256
260257 EXCEPTION_PROLOGUE
261258
262
- mov r2, r9 ; ECR set into r9 already
259
+ mov r2, r10 ; ECR set into r10 already
263260 lr r0, [efa] ; Faulting Data address (not part of pt_regs saved above)
264261
265262 ; Exception auto-disables further Intr/exceptions.