20 lines
307 B
C
20 lines
307 B
C
|
/* SPDX-License-Identifier: GPL-2.0 */
|
||
|
#ifndef __ASM_IRQ_H
|
||
|
#define __ASM_IRQ_H
|
||
|
|
||
|
#ifndef __ASSEMBLER__
|
||
|
|
||
|
#include <asm-generic/irq.h>
|
||
|
|
||
|
struct pt_regs;
|
||
|
|
||
|
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
|
||
|
|
||
|
static inline int nr_legacy_irqs(void)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
#endif /* !__ASSEMBLER__ */
|
||
|
#endif
|