| * Copyright 2004-2009 Analog Devices Inc. |
| * 2002 Arcturus Networks Inc. (www.arcturusnetworks.com |
| * Ted Ma <mated@sympatico.ca> |
| * Licensed under the GPL-2 |
| #include <linux/irqflags.h> |
| /* IRQs that may be used by external irq_chip controllers */ |
| #include <mach/anomaly.h> |
| /* SYS_IRQS and NR_IRQS are defined in <mach-bf5xx/irq.h> */ |
| #if ANOMALY_05000244 && defined(CONFIG_BFIN_ICACHE) |
| # define NOP_PAD_ANOMALY_05000244 "nop; nop;" |
| # define NOP_PAD_ANOMALY_05000244 |
| #define idle_with_irq_disabled() \ |
| NOP_PAD_ANOMALY_05000244 \ |
| #include <asm-generic/irq.h> |
| #ifdef CONFIG_NMI_WATCHDOG |
| # define ARCH_HAS_NMI_WATCHDOG |
| #endif /* _BFIN_IRQ_H_ */ |