Thomas Gleixner | 4a2581a | 2006-07-01 22:30:09 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Nothing to see here yet |
| 3 | */ |
| 4 | #ifndef _ARCH_ARM_HW_IRQ_H |
| 5 | #define _ARCH_ARM_HW_IRQ_H |
| 6 | |
Russell King | 897d852 | 2008-08-03 15:04:04 +0100 | [diff] [blame] | 7 | static inline void ack_bad_irq(int irq) |
| 8 | { |
| 9 | extern unsigned long irq_err_count; |
| 10 | irq_err_count++; |
| 11 | } |
| 12 | |
Russell King | 897d852 | 2008-08-03 15:04:04 +0100 | [diff] [blame] | 13 | void set_irq_flags(unsigned int irq, unsigned int flags); |
| 14 | |
| 15 | #define IRQF_VALID (1 << 0) |
| 16 | #define IRQF_PROBE (1 << 1) |
| 17 | #define IRQF_NOAUTOEN (1 << 2) |
Thomas Gleixner | 4a2581a | 2006-07-01 22:30:09 +0100 | [diff] [blame] | 18 | |
Thomas Gleixner | 032fa36 | 2010-10-16 21:17:08 +0200 | [diff] [blame] | 19 | #define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE) |
| 20 | |
Thomas Gleixner | 4a2581a | 2006-07-01 22:30:09 +0100 | [diff] [blame] | 21 | #endif |