We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 408433d commit 36a56e7Copy full SHA for 36a56e7
arch/arc/core/fault_s.S
@@ -302,9 +302,10 @@ exc_nest_handle:
302
st _CAUSE_RIRQ, [r2, _thread_offset_to_relinquish_cause]
303
/* note: Ok to use _CAUSE_RIRQ since everything is saved */
304
305
- ld_s r2, [r1, _kernel_offset_to_ready_q_cache]
+ mov r2, r0
306
+#ifndef CONFIG_SMP
307
st_s r2, [r1, _kernel_offset_to_current]
-
308
+#endif
309
/* clear AE bit to forget this was an exception */
310
lr r3, [_ARC_V2_STATUS32]
311
and r3,r3,(~_ARC_V2_STATUS32_AE)
0 commit comments