blob: 5586b7c8ef6fd7b1f112890d07e87b03aa695257 [file] [log] [blame]
Thomas Gleixner4a2581a2006-07-01 22:30:09 +01001/*
2 * Nothing to see here yet
3 */
4#ifndef _ARCH_ARM_HW_IRQ_H
5#define _ARCH_ARM_HW_IRQ_H
6
Russell King897d8522008-08-03 15:04:04 +01007static inline void ack_bad_irq(int irq)
8{
9 extern unsigned long irq_err_count;
10 irq_err_count++;
11}
12
13/*
14 * Obsolete inline function for calling irq descriptor handlers.
15 */
16static inline void desc_handle_irq(unsigned int irq, struct irq_desc *desc)
17{
18 desc->handle_irq(irq, desc);
19}
20
21void set_irq_flags(unsigned int irq, unsigned int flags);
22
23#define IRQF_VALID (1 << 0)
24#define IRQF_PROBE (1 << 1)
25#define IRQF_NOAUTOEN (1 << 2)
Thomas Gleixner4a2581a2006-07-01 22:30:09 +010026
Thomas Gleixner032fa362010-10-16 21:17:08 +020027#define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE)
28
Thomas Gleixner4a2581a2006-07-01 22:30:09 +010029#endif