xref: /linux/arch/arm/include/asm/hw_irq.h (revision 93d90ad708b8da6efc0e487b66111aa9db7f70c7)
1 /*
2  * Nothing to see here yet
3  */
4 #ifndef _ARCH_ARM_HW_IRQ_H
5 #define _ARCH_ARM_HW_IRQ_H
6 
7 static inline void ack_bad_irq(int irq)
8 {
9 	extern unsigned long irq_err_count;
10 	irq_err_count++;
11 	pr_crit("unexpected IRQ trap at vector %02x\n", irq);
12 }
13 
14 void set_irq_flags(unsigned int irq, unsigned int flags);
15 
16 #define IRQF_VALID	(1 << 0)
17 #define IRQF_PROBE	(1 << 1)
18 #define IRQF_NOAUTOEN	(1 << 2)
19 
20 #define ARCH_IRQ_INIT_FLAGS	(IRQ_NOREQUEST | IRQ_NOPROBE)
21 
22 #endif
23