blob: 8e8d30684392b1065b0c5d1f65e7715e4028331c [file] [log] [blame]
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00001#ifndef __ASM_IRQ_H
2#define __ASM_IRQ_H
3
4#include <asm-generic/irq.h>
5
Chunyan Zhangaf2c6322014-12-04 06:29:35 +00006struct pt_regs;
7
Catalin Marinase851b582013-01-14 12:39:31 +00008extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00009
Boris Ostrovskyb4ff8382015-11-20 11:25:04 -050010static inline int nr_legacy_irqs(void)
11{
12 return 0;
13}
14
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +000015#endif