mirror of
https://github.com/apache/nuttx.git
synced 2026-10-17 11:08:57 +00:00
vector table should have dimension NR_IRQS, not NR_IRQS+1
This commit is contained in:
parent
cec2b61592
commit
9fa1024eef
3 changed files with 3 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue