aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/irqflags.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/include/asm/irqflags.h b/arch/arm/include/asm/irqflags.h
index 3b01c151507..dd7872ab798 100644
--- a/arch/arm/include/asm/irqflags.h
+++ b/arch/arm/include/asm/irqflags.h
@@ -5,11 +5,15 @@
#include <asm/ptrace.h>
-
+#ifdef CONFIG_FIND_IRQ_BLOCKERS
void iblock_start(void);
void iblock_end(void);
void iblock_end_maybe(unsigned long flags);
-
+#else
+#define iblock_start()
+#define iblock_end()
+#define iblock_end_maybe(x)
+#endif
/*
* CPU interrupt mask handling.