diff --git a/ChangeLog b/ChangeLog index d361aee..59e9eb6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2021-02-10 NIIBE Yutaka + + * chopstx.c (chx_recv_irq): Bug fix when no waiter. + + * chopstx-gnu-linux.c (chopstx_create_arch): Fix ARGC of + makecontext call. + 2021-02-09 NIIBE Yutaka * chopstx-gnu-linux.c (chopstx_create_arch): Clear TP. @@ -10,8 +17,6 @@ 2021-02-08 NIIBE Yutaka - * chopstx.c (chx_recv_irq): Bug fix when no waiter. - * entry-cortex-m.c (vector_table): No use of PENDV exception. Use chx_handle_intr for SysTick. * example-fsm-55/reset.c (vector): Likewise. diff --git a/chopstx.c b/chopstx.c index d3db1ba..0bdd1b9 100644 --- a/chopstx.c +++ b/chopstx.c @@ -460,7 +460,7 @@ chx_recv_irq (uint32_t irq_num) break; chx_spin_unlock (&q_intr.lock); - if (!ll_empty ((struct chx_qh *)p)) + if (p != (struct chx_pq *)&q_intr.q) { struct chx_px *px = (struct chx_px *)p;