diff options
| author | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2017-08-30 08:25:59 +0000 |
| commit | 8e4bff4cab0ddac6060645b0715210484d02ff40 (patch) | |
| tree | 3a5c3024371a04692a3a6d9974d001cdff8ebf84 /arch/sparc/include/asm/irq_32.h | |
Diffstat (limited to 'arch/sparc/include/asm/irq_32.h')
| -rw-r--r-- | arch/sparc/include/asm/irq_32.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/sparc/include/asm/irq_32.h b/arch/sparc/include/asm/irq_32.h new file mode 100644 index 00000000..2ae3acae --- /dev/null +++ b/arch/sparc/include/asm/irq_32.h @@ -0,0 +1,23 @@ +/* irq.h: IRQ registers on the Sparc. + * + * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) + */ + +#ifndef _SPARC_IRQ_H +#define _SPARC_IRQ_H + +/* Allocated number of logical irq numbers. + * sun4d boxes (ss2000e) should be OK with ~32. + * Be on the safe side and make room for 64 + */ +#define NR_IRQS 64 + +#include <linux/interrupt.h> + +#define irq_canonicalize(irq) (irq) + +extern void __init init_IRQ(void); + +#define NO_IRQ 0xffffffff + +#endif |
