Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *  arch/arm/include/asm/mach/irq.h
0004  *
0005  *  Copyright (C) 1995-2000 Russell King.
0006  */
0007 #ifndef __ASM_ARM_MACH_IRQ_H
0008 #define __ASM_ARM_MACH_IRQ_H
0009 
0010 #include <linux/irq.h>
0011 
0012 struct seq_file;
0013 
0014 /*
0015  * This is internal.  Do not use it.
0016  */
0017 extern void init_FIQ(int);
0018 extern int show_fiq_list(struct seq_file *, int);
0019 
0020 /*
0021  * This is for easy migration, but should be changed in the source
0022  */
0023 #define do_bad_IRQ(desc)                \
0024 do {                            \
0025     raw_spin_lock(&desc->lock);         \
0026     handle_bad_irq(desc);               \
0027     raw_spin_unlock(&desc->lock);           \
0028 } while(0)
0029 
0030 #endif