mirror of
https://github.com/apache/nuttx.git
synced 2026-09-21 13:25:12 +08:00
vector table should have dimension NR_IRQS, not NR_IRQS+1
This commit is contained in:
@@ -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);
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user