diff options
author | Alexey Brodkin <abrodkin@synopsys.com> | 2018-01-18 21:07:21 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2018-01-18 10:51:26 -0800 |
commit | a3142792f79884b867b7bf4c7d5a126a0f913332 (patch) | |
tree | 8be4e34419dc507908756fb197d03980d4a4910e /arch/arc | |
parent | 8bbfbc2df6e9a37bc5c9ee674c496ea277b0bd39 (diff) | |
download | linux-a3142792f79884b867b7bf4c7d5a126a0f913332.tar.bz2 |
ARCv2: Don't pretend we may set L-bit in STATUS32 with kflag instruction
As per PRM "kflag" instruction doesn't change state of
L-flag ("Zero-Overhead loop disabled") in STATUS32 register
so let's not act as if we can affect this bit.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/include/asm/entry-arcv2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/include/asm/entry-arcv2.h b/arch/arc/include/asm/entry-arcv2.h index 257a68f3c2fe..309f4e6721b3 100644 --- a/arch/arc/include/asm/entry-arcv2.h +++ b/arch/arc/include/asm/entry-arcv2.h @@ -184,7 +184,7 @@ .macro FAKE_RET_FROM_EXCPN lr r9, [status32] bic r9, r9, (STATUS_U_MASK|STATUS_DE_MASK|STATUS_AE_MASK) - or r9, r9, (STATUS_L_MASK|STATUS_IE_MASK) + or r9, r9, STATUS_IE_MASK kflag r9 .endm |