vector table should have dimension NR_IRQS, not NR_IRQS+1
This commit is contained in:
parent
cec2b61592
commit
9fa1024eef
@ -441,6 +441,7 @@ static ssize_t proc_status(FAR struct proc_file_s *procfile,
|
||||
#ifdef CONFIG_SCHED_HAVE_PARENT
|
||||
group = tcb->group;
|
||||
DEBUGASSERT(group);
|
||||
|
||||
#ifdef HAVE_GROUPID
|
||||
linesize = snprintf(procfile->line, STATUS_LINELEN, "%-12s%d\n", "Group:",
|
||||
group->tg_pgid);
|
||||
|
@ -58,7 +58,7 @@
|
||||
* occurrence of an interrupt.
|
||||
*/
|
||||
|
||||
extern FAR xcpt_t g_irqvector[NR_IRQS+1];
|
||||
extern FAR xcpt_t g_irqvector[NR_IRQS];
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
/* This is the spinlock that enforces critical sections when interrupts are
|
||||
|
@ -47,7 +47,7 @@
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
|
||||
FAR xcpt_t g_irqvector[NR_IRQS+1];
|
||||
FAR xcpt_t g_irqvector[NR_IRQS];
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
|
Loading…
Reference in New Issue
Block a user