diff options
author | Andy Green <andy@openmoko.com> | 2009-01-29 14:28:16 +0000 |
---|---|---|
committer | Andy Green <agreen@octopus.localdomain> | 2009-01-29 14:28:16 +0000 |
commit | 567549dbdad0180a2112c8f8be0bbcab2f288b73 (patch) | |
tree | 59dad305ca0517d918d677b246b753c7a3c610f0 /arch/arm/include | |
parent | 2b2138d7e932f5a6dcfc30f8d2868bf88bbde8a8 (diff) |
add-kconfig-for-find-irq-blockers.patch
This adds a debug section Kconfig entry for the interrupt blocking
detection and deals with the config in our stock defconfigs
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/irqflags.h | 8 |
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. |