summaryrefslogtreecommitdiff
path: root/nuttx/arch/sh/src/common/up_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/sh/src/common/up_internal.h')
-rw-r--r--nuttx/arch/sh/src/common/up_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/arch/sh/src/common/up_internal.h b/nuttx/arch/sh/src/common/up_internal.h
index 31f016074..8cb3ee2dd 100644
--- a/nuttx/arch/sh/src/common/up_internal.h
+++ b/nuttx/arch/sh/src/common/up_internal.h
@@ -171,9 +171,13 @@ extern void up_wdtinit(void);
extern void up_timerinit(void);
-/* Defined in up_irq.c */
+/* 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 */