Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_IRQ_H
0003 #define __ASM_IRQ_H
0004 
0005 #ifndef __ASSEMBLER__
0006 
0007 #include <asm-generic/irq.h>
0008 
0009 struct pt_regs;
0010 
0011 int set_handle_irq(void (*handle_irq)(struct pt_regs *));
0012 #define set_handle_irq  set_handle_irq
0013 int set_handle_fiq(void (*handle_fiq)(struct pt_regs *));
0014 
0015 static inline int nr_legacy_irqs(void)
0016 {
0017     return 0;
0018 }
0019 
0020 #endif /* !__ASSEMBLER__ */
0021 #endif