2012-03-05 19:49:29 +08:00
|
|
|
#ifndef __ASM_IRQ_H
|
|
|
|
#define __ASM_IRQ_H
|
|
|
|
|
|
|
|
#include <asm-generic/irq.h>
|
|
|
|
|
2014-12-04 14:29:35 +08:00
|
|
|
struct pt_regs;
|
|
|
|
|
2013-01-14 20:39:31 +08:00
|
|
|
extern void set_handle_irq(void (*handle_irq)(struct pt_regs *));
|
2012-03-05 19:49:29 +08:00
|
|
|
|
2015-11-21 00:25:04 +08:00
|
|
|
static inline int nr_legacy_irqs(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2012-03-05 19:49:29 +08:00
|
|
|
#endif
|