mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 13:55:15 +00:00
eZ80: ensure DECL_SAVESTATE() is done when needed
This commit is contained in:
parent
f0ccce3212
commit
e50b5bef8b
1 changed files with 2 additions and 2 deletions
|
|
@ -47,6 +47,8 @@ FAR chipreg_t *z80_doirq(uint8_t irq, FAR chipreg_t *regs)
|
|||
{
|
||||
board_autoled_on(LED_INIRQ);
|
||||
|
||||
DECL_SAVESTATE();
|
||||
|
||||
#ifdef CONFIG_SUPPRESS_INTERRUPTS
|
||||
|
||||
IRQ_ENTER(regs);
|
||||
|
|
@ -61,8 +63,6 @@ FAR chipreg_t *z80_doirq(uint8_t irq, FAR chipreg_t *regs)
|
|||
|
||||
if (irq < NR_IRQS)
|
||||
{
|
||||
DECL_SAVESTATE();
|
||||
|
||||
/* Indicate that we have entered IRQ processing logic */
|
||||
|
||||
IRQ_ENTER(irq, regs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue