irq.h 585 字节
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 11 12 13 14
#ifdef CONFIG_SMP
extern bool arch_trigger_cpumask_backtrace(const cpumask_t *mask,
					   bool exclude_self);
#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace
#endif

15 16
struct pt_regs;

17 18
int set_handle_irq(void (*handle_irq)(struct pt_regs *));
#define set_handle_irq	set_handle_irq
19
int set_handle_fiq(void (*handle_fiq)(struct pt_regs *));
20

21 22 23 24 25
static inline int nr_legacy_irqs(void)
{
	return 0;
}

26
#endif /* !__ASSEMBLER__ */
M
Marc Zyngier 已提交
27
#endif