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:
parent
80d32edbe1
commit
7776c6ad0e
@ -86,12 +86,14 @@ static struct note_filter_s g_note_filter =
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SCHED_INSTRUMENTATION_IRQHANDLER
|
||||
#ifdef CONFIG_SMP
|
||||
static unsigned int g_note_disabled_irq_nest[CONFIG_SMP_NCPUS];
|
||||
#else
|
||||
static unsigned int g_note_disabled_irq_nest[1];
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
Loading…
Reference in New Issue
Block a user