Skip to content
Commit 7249fbf5 authored by Wayne Ren's avatar Wayne Ren Committed by Johan Hedberg
Browse files

arch: arc: fix the bug of irq_offload



* remove irq lock/unlock which is not needed because of
  the protection of offload_sem in irq_offload
* simplify the assembly codes related irq_offload, remove
  the thread switch logic
* the old codes may do thread switch in the epilogue of
  irq_offload handling with int locked, this is not correct
  may cause irq_offload related codes crash.

Signed-off-by: default avatarWayne Ren <wei.ren@synopsys.com>
parent 041ccb12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment