blob: a0fee6985e6a75b621644ea4e7d19f8b4f220643 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00002#ifndef __ASM_IRQ_H
3#define __ASM_IRQ_H
4
AKASHI Takahiro132cd882015-12-04 11:02:26 +00005#ifndef __ASSEMBLER__
6
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +00007#include <asm-generic/irq.h>
8
Chunyan Zhangaf2c6322014-12-04 06:29:35 +00009struct pt_regs;
10
Catalin Marinase851b582013-01-14 12:39:31 +000011extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +000012
Boris Ostrovskyb4ff8382015-11-20 11:25:04 -050013static inline int nr_legacy_irqs(void)
14{
15 return 0;
16}
17
AKASHI Takahiro132cd882015-12-04 11:02:26 +000018#endif /* !__ASSEMBLER__ */
Marc Zyngierfb9bd7d62012-03-05 11:49:29 +000019#endif