sim: fix signal crash in SMP mode
reproduce: sim:smp ostest reason: shouldn't do sim_sigdeliver() in irq handler Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
179d64d999
commit
94cf99f310
@ -89,10 +89,6 @@ void *up_doirq(int irq, void *context)
|
||||
CURRENT_REGS = NULL;
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
/* Handle signal */
|
||||
|
||||
sim_sigdeliver();
|
||||
|
||||
/* Then switch contexts */
|
||||
|
||||
longjmp(regs, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user