arch/riscv: Do not use irq_lock() on arch_irq_offload
With SMP, it's the wrong with to do, according to
3b145c0d4b
.
Signed-off-by: Ederson de Souza <ederson.desouza@intel.com>
This commit is contained in:
parent
d27cdd1a1e
commit
b0458201cc
1 changed files with 0 additions and 5 deletions
|
@ -33,13 +33,8 @@ void z_irq_do_offload(void)
|
|||
|
||||
void arch_irq_offload(irq_offload_routine_t routine, const void *parameter)
|
||||
{
|
||||
unsigned int key;
|
||||
|
||||
key = irq_lock();
|
||||
_offload_routine = routine;
|
||||
offload_param = parameter;
|
||||
|
||||
__asm__ volatile ("ecall");
|
||||
|
||||
irq_unlock(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue