diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-04-04 11:07:52 +0200 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2013-05-07 10:13:55 +0200 |
commit | c723ea4620a67fb0dbed5f5c33183543799e2177 (patch) | |
tree | 19ee9abf49caa767017d41d2a337d8f174a8a87f /arch/arc/kernel/entry.S | |
parent | ARC: Debug/crash-printing Improvements (diff) | |
download | linux-c723ea4620a67fb0dbed5f5c33183543799e2177.tar.xz linux-c723ea4620a67fb0dbed5f5c33183543799e2177.zip |
ARC: unaligned access emulation error handling consolidation
If CONFIG_ARC_MISALIGN_ACCESS is not enabled, or if the fixup fails,
call the same error handler: same signal/si_code to user (SIGBUS)
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/entry.S')
-rw-r--r-- | arch/arc/kernel/entry.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/entry.S b/arch/arc/kernel/entry.S index 91eeab81f52d..666a486f1e7b 100644 --- a/arch/arc/kernel/entry.S +++ b/arch/arc/kernel/entry.S @@ -393,12 +393,12 @@ ARC_ENTRY EV_TLBProtV #ifdef CONFIG_ARC_MISALIGN_ACCESS SAVE_CALLEE_SAVED_USER mov r3, sp ; callee_regs -#endif bl do_misaligned_access -#ifdef CONFIG_ARC_MISALIGN_ACCESS DISCARD_CALLEE_SAVED_USER +#else + bl do_misaligned_error #endif b ret_from_exception |