diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2019-05-16 01:36:46 +0300 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2019-07-01 21:02:22 +0300 |
commit | a4880801a72ecc2dcdfa432f81a754f3e7438567 (patch) | |
tree | 09598d292ca0afc987c785919f26354591d19761 /arch/arc/kernel/entry-arcv2.S | |
parent | ab854bfcd310b5872fe12eb8d3f2c30fe427f8f7 (diff) | |
download | linux-a4880801a72ecc2dcdfa432f81a754f3e7438567.tar.xz |
ARCv2: entry: rewrite to enable use of double load/stores LDD/STD
- the motivation was to be remove blatent copy-paste due to hasty support
of CONFIG_ARC_IRQ_NO_AUTOSAVE support
- but with refactoring we could use LDD/STD to greatly optimize the code
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/kernel/entry-arcv2.S')
-rw-r--r-- | arch/arc/kernel/entry-arcv2.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arc/kernel/entry-arcv2.S b/arch/arc/kernel/entry-arcv2.S index 14254b866fdc..0fc408ec0814 100644 --- a/arch/arc/kernel/entry-arcv2.S +++ b/arch/arc/kernel/entry-arcv2.S @@ -67,7 +67,7 @@ reserved: ENTRY(handle_interrupt) - INTERRUPT_PROLOGUE irq + INTERRUPT_PROLOGUE # irq control APIs local_irq_save/restore/disable/enable fiddle with # global interrupt enable bits in STATUS32 (.IE for 1 prio, .E[] for 2 prio) @@ -223,7 +223,7 @@ debug_marker_l1: bset.nz r11, r11, AUX_IRQ_ACT_BIT_U ; NZ means U sr r11, [AUX_IRQ_ACT] - INTERRUPT_EPILOGUE irq + INTERRUPT_EPILOGUE rtie ;####### Return from Exception / pure kernel mode ####### |