sched: irq: Change irq_waitlock() from private to public

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
This commit is contained in:
Masayuki Ishikawa
2020-11-25 09:53:03 +09:00
committed by Alin Jerpelea
parent 8d0118569c
commit a24905059e
2 changed files with 51 additions and 1 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ volatile uint8_t g_cpu_nestcount[CONFIG_SMP_NCPUS];
****************************************************************************/
#ifdef CONFIG_SMP
static inline bool irq_waitlock(int cpu)
bool irq_waitlock(int cpu)
{
#ifdef CONFIG_SCHED_INSTRUMENTATION_SPINLOCKS
FAR struct tcb_s *tcb = current_task(cpu);