arch: arc: fake exception should set not clrear AE bit
To make a fake exception, we should set not clear AE bit Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
This commit is contained in:
parent
8975c0a33e
commit
9544350832
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ _arc_go_to_user_space:
|
|||
|
||||
/* fake exception return */
|
||||
lr r0, [_ARC_V2_STATUS32]
|
||||
bclr r0, r0, _ARC_V2_STATUS32_AE_BIT
|
||||
bset r0, r0, _ARC_V2_STATUS32_AE_BIT
|
||||
kflag r0
|
||||
|
||||
/* when exception returns from kernel to user, sp and _ARC_V2_USER_SP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue