From d1c4f087653209a8077f01de139d9778569feb42 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Mon, 20 Apr 2015 15:27:30 -0400 Subject: [PATCH] Update irq locking/unlocking comments Removes references to 'local' CPU from IRQ locking/unlocking comments. On a single node system, the CPU must by definition be local. Signed-off-by: Peter Mitsis Change-Id: I56297f01db82a2ed798a7d6b5cabf4c04950d15e --- include/nanokernel/arc/v2/irq.h | 4 ++-- include/nanokernel/arm/CortexM/irq.h | 6 +++--- include/nanokernel/x86/arch.h | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/nanokernel/arc/v2/irq.h b/include/nanokernel/arc/v2/irq.h index 4fc3dcac3e6..70954b50d7c 100644 --- a/include/nanokernel/arc/v2/irq.h +++ b/include/nanokernel/arc/v2/irq.h @@ -73,7 +73,7 @@ extern void _irq_exit(void); /******************************************************************************* * -* irq_lock_inline - disable all interrupts on the local CPU (inline) +* irq_lock_inline - disable all interrupts on the CPU (inline) * * See irq_lock() for full description * @@ -93,7 +93,7 @@ static ALWAYS_INLINE unsigned int irq_lock_inline(void) /******************************************************************************* * -* irq_unlock_inline - enable all interrupts on the local CPU (inline) +* irq_unlock_inline - enable all interrupts on the CPU (inline) * * See irq_unlock() for full description * diff --git a/include/nanokernel/arm/CortexM/irq.h b/include/nanokernel/arm/CortexM/irq.h index 013768e9f62..e85999ab87a 100644 --- a/include/nanokernel/arm/CortexM/irq.h +++ b/include/nanokernel/arm/CortexM/irq.h @@ -73,7 +73,7 @@ extern void _IntExit(void); /******************************************************************************* * -* irq_lock_inline - disable all interrupts on the local CPU (inline) +* irq_lock_inline - disable all interrupts on the CPU (inline) * * This routine disables interrupts. It can be called from either interrupt, * task or fiber level. This routine returns an architecture-dependent @@ -131,9 +131,9 @@ static ALWAYS_INLINE unsigned int irq_lock_inline(void) /******************************************************************************* * -* irq_unlock_inline - enable all interrupts on the local CPU (inline) +* irq_unlock_inline - enable all interrupts on the CPU (inline) * -* This routine re-enables interrupts on the local CPU. The parameter +* This routine re-enables interrupts on the CPU. The parameter * is an architecture-dependent lock-out key that is returned by a previous * invocation of irq_lock_inline(). * diff --git a/include/nanokernel/x86/arch.h b/include/nanokernel/x86/arch.h index 63beffcfa3c..1c4bf92ea73 100644 --- a/include/nanokernel/x86/arch.h +++ b/include/nanokernel/x86/arch.h @@ -265,7 +265,7 @@ void _int_latency_stop (void); /******************************************************************************* * -* irq_lock_inline - disable all interrupts on the local CPU (inline) +* irq_lock_inline - disable all interrupts on the CPU (inline) * * This routine disables interrupts. It can be called from either interrupt, * task or fiber level. This routine returns an architecture-dependent @@ -339,9 +339,9 @@ __asm volatile unsigned int irq_lock_inline (void) /******************************************************************************* * -* irq_unlock_inline - enable all interrupts on the local CPU (inline) +* irq_unlock_inline - enable all interrupts on the CPU (inline) * -* This routine re-enables interrupts on the local CPU. The parameter +* This routine re-enables interrupts on the CPU. The parameter * is an architecture-dependent lock-out key that is returned by a previous * invocation of irq_lock_inline(). *