xref: /openbmc/linux/arch/arm/include/asm/mach/irq.h (revision 675aaf05)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *  arch/arm/include/asm/mach/irq.h
4  *
5  *  Copyright (C) 1995-2000 Russell King.
6  */
7 #ifndef __ASM_ARM_MACH_IRQ_H
8 #define __ASM_ARM_MACH_IRQ_H
9 
10 #include <linux/irq.h>
11 
12 struct seq_file;
13 
14 /*
15  * This is internal.  Do not use it.
16  */
17 extern void init_FIQ(int);
18 extern int show_fiq_list(struct seq_file *, int);
19 
20 /*
21  * This is for easy migration, but should be changed in the source
22  */
23 #define do_bad_IRQ(desc)				\
24 do {							\
25 	raw_spin_lock(&desc->lock);			\
26 	handle_bad_irq(desc);				\
27 	raw_spin_unlock(&desc->lock);			\
28 } while(0)
29 
30 #endif
31