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:
ligd 2022-09-06 21:05:53 +08:00 committed by Masayuki Ishikawa
parent 179d64d999
commit 94cf99f310
1 changed files with 0 additions and 4 deletions

View File

@ -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);