xref: /openbmc/linux/arch/arm/include/asm/mach/irq.h (revision df2634f43f5106947f3735a0b61a6527a4b278cd)
1 /*
2  *  arch/arm/include/asm/mach/irq.h
3  *
4  *  Copyright (C) 1995-2000 Russell King.
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 #ifndef __ASM_ARM_MACH_IRQ_H
11 #define __ASM_ARM_MACH_IRQ_H
12 
13 #include <linux/irq.h>
14 
15 struct seq_file;
16 
17 /*
18  * This is internal.  Do not use it.
19  */
20 extern void init_FIQ(void);
21 extern int show_fiq_list(struct seq_file *, int);
22 
23 #ifdef CONFIG_MULTI_IRQ_HANDLER
24 extern void (*handle_arch_irq)(struct pt_regs *);
25 #endif
26 
27 /*
28  * This is for easy migration, but should be changed in the source
29  */
30 #define do_bad_IRQ(irq,desc)				\
31 do {							\
32 	raw_spin_lock(&desc->lock);			\
33 	handle_bad_irq(irq, desc);			\
34 	raw_spin_unlock(&desc->lock);			\
35 } while(0)
36 
37 #endif
38