irq.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:0k
- #ifndef __ASM_ARM_IRQ_H
- #define __ASM_ARM_IRQ_H
- #include <asm/arch/irq.h>
- #include <asm/arch/irqs.h>
- #ifndef irq_cannonicalize
- #define irq_cannonicalize(i) (i)
- #endif
- #ifndef NR_IRQS
- #define NR_IRQS 128
- #endif
- /*
- * Use this value to indicate lack of interrupt
- * capability
- */
- #ifndef NO_IRQ
- #define NO_IRQ ((unsigned int)(-1))
- #endif
- #define disable_irq_nosync(i) disable_irq(i)
- extern void disable_irq(unsigned int);
- extern void enable_irq(unsigned int);
- #endif