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:
Wayne Ren 2020-03-02 13:56:36 +08:00 committed by Anas Nashif
commit 9544350832

View file

@ -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