diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-09 16:12:11 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-09 16:12:11 -0600 |
commit | 87b3ae4e294e547dbc9aab6134efbd693267a261 (patch) | |
tree | 37681559e481c01c22e8b61c596b74fd5d0eede6 /nuttx/arch/sh/src/common/up_internal.h | |
parent | 90a63664425e57c628d18e4ea71ccc6138c23948 (diff) | |
download | nuttx-87b3ae4e294e547dbc9aab6134efbd693267a261.tar.gz nuttx-87b3ae4e294e547dbc9aab6134efbd693267a261.tar.bz2 nuttx-87b3ae4e294e547dbc9aab6134efbd693267a261.zip |
Big, very risky change: Remove all occurrences of up_maskack_irq() that disable and enable interrupts with up_ack_irq() that only acknowledges the interrupts. This is only used in interrupt decoding logic. Also remove the logic that unconditionally re-enables interrupts with the interrupt exits. This interferes with the drivers ability to control the interrupt state. This is a necessary, sweeping, global change and unfortunately impossible to test.
Diffstat (limited to 'nuttx/arch/sh/src/common/up_internal.h')
-rw-r--r-- | nuttx/arch/sh/src/common/up_internal.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h index 180f6cebe..c7f831647 100644 --- a/nuttx/arch/sh/src/common/up_internal.h +++ b/nuttx/arch/sh/src/common/up_internal.h @@ -208,14 +208,6 @@ extern void up_wdtinit(void); extern void up_timer_initialize(void); -/* Defined in chip-specific logic if CONFIG_ARCH_NOINTC is not set */ - -#ifndef CONFIG_ARCH_NOINTC -extern void up_maskack_irq(int irq); -#else -# define up_maskack_irq(irq) -#endif - /* Defined in board/up_leds.c */ #ifdef CONFIG_ARCH_LEDS |