From 1cf2fa75c41fd3dbc0a5f81b89f1a22361f7ad89 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Mon, 2 May 2022 11:56:20 +0200 Subject: [PATCH] arch/xtensa: Fix some typos and comments. Signed-off-by: Abdelatif Guettouche --- arch/xtensa/src/common/xtensa_schedsigaction.c | 4 ++-- arch/xtensa/src/common/xtensa_sigdeliver.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/xtensa/src/common/xtensa_schedsigaction.c b/arch/xtensa/src/common/xtensa_schedsigaction.c index 7b376e3c440..485c2f4952f 100644 --- a/arch/xtensa/src/common/xtensa_schedsigaction.c +++ b/arch/xtensa/src/common/xtensa_schedsigaction.c @@ -87,12 +87,12 @@ void up_schedule_sigaction(struct tcb_s *tcb, sig_deliver_t sigdeliver) if (!tcb->xcp.sigdeliver) { + sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); + /* First, handle some special cases when the signal is being delivered * to the currently executing task. */ - sinfo("rtcb=0x%p CURRENT_REGS=0x%p\n", this_task(), CURRENT_REGS); - if (tcb == this_task()) { /* CASE 1: We are not in an interrupt handler and a task is diff --git a/arch/xtensa/src/common/xtensa_sigdeliver.c b/arch/xtensa/src/common/xtensa_sigdeliver.c index 9bc8013c30d..e0c81c29b53 100644 --- a/arch/xtensa/src/common/xtensa_sigdeliver.c +++ b/arch/xtensa/src/common/xtensa_sigdeliver.c @@ -46,7 +46,7 @@ * * Description: * This is the a signal handling trampoline. When a signal action was - * posted. The task context was mucked with and forced to branch to this + * posted, the task context was mucked with and forced to branch to this * location with interrupts disabled. * ****************************************************************************/