mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
sched_note.c: Condition g_note_disabled_irq_nest with
INSTRUMENTATION_IRQHANDLER to avoid warnings. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Xiang Xiao
parent
80d32edbe1
commit
7776c6ad0e
@@ -86,12 +86,14 @@ static struct note_filter_s g_note_filter =
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
static unsigned int g_note_disabled_irq_nest[CONFIG_SMP_NCPUS];
|
static unsigned int g_note_disabled_irq_nest[CONFIG_SMP_NCPUS];
|
||||||
#else
|
#else
|
||||||
static unsigned int g_note_disabled_irq_nest[1];
|
static unsigned int g_note_disabled_irq_nest[1];
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Functions
|
* Private Functions
|
||||||
|
|||||||
Reference in New Issue
Block a user