summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/qemu/qemu_handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86/src/qemu/qemu_handlers.c')
-rw-r--r--nuttx/arch/x86/src/qemu/qemu_handlers.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/nuttx/arch/x86/src/qemu/qemu_handlers.c b/nuttx/arch/x86/src/qemu/qemu_handlers.c
index 221bfbf0f..05b5dee3f 100644
--- a/nuttx/arch/x86/src/qemu/qemu_handlers.c
+++ b/nuttx/arch/x86/src/qemu/qemu_handlers.c
@@ -101,10 +101,6 @@ static uint32_t *common_handler(int irq, uint32_t *regs)
DEBUGASSERT(current_regs == NULL);
current_regs = regs;
- /* Mask and acknowledge the interrupt */
-
- up_maskack_irq(irq);
-
/* Deliver the IRQ */
irq_dispatch(irq, regs);
@@ -120,10 +116,6 @@ static uint32_t *common_handler(int irq, uint32_t *regs)
/* Indicate that we are no long in an interrupt handler */
current_regs = NULL;
-
- /* Unmask the last interrupt (global interrupts are still disabled) */
-
- up_enable_irq(irq);
return regs;
}
#endif