irq.h 395 字节
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0 */
M
Marc Zyngier 已提交
2 3 4
#ifndef __ASM_IRQ_H
#define __ASM_IRQ_H

5 6
#ifndef __ASSEMBLER__

M
Marc Zyngier 已提交
7 8
#include <asm-generic/irq.h>

9 10
struct pt_regs;

11 12
int set_handle_irq(void (*handle_irq)(struct pt_regs *));
#define set_handle_irq	set_handle_irq
13
int set_handle_fiq(void (*handle_fiq)(struct pt_regs *));
14

15 16 17 18 19
static inline int nr_legacy_irqs(void)
{
	return 0;
}

20
#endif /* !__ASSEMBLER__ */
M
Marc Zyngier 已提交
21
#endif