commit | 2833d016aa0b747c5c6fdd363dea4a9ebda941eb | [log] [tgz] |
---|---|---|
author | Wayne Ren <wei.ren@synopsys.com> | Sat Apr 11 15:33:06 2020 +0800 |
committer | Andrew Boie <andrewboie@gmail.com> | Tue Apr 14 12:52:41 2020 -0700 |
tree | 55eeb169dbfa109c21858edb5567591f63e5a6c8 | |
parent | 1f3c014a1ad302076223e5c1ec3a4892db378af9 [diff] |
arch: arc: fix the bug of IRQ_ACT.U bit sync up This bug is brought in commit 3f88ddd54999. The cleanup of IRQ_ACT.U bit before thread switch is not done. The bug comes out at the case where interrupt comes in user mode, then a thread switch happens, and the target thread is to run in kernel mode. Because the U bit is not sync up correctly, the stack operation is wrong. Signed-off-by: Wayne Ren <wei.ren@synopsys.com>