blob: 2ae3acaeb1b31980d0fa0247de7de7912f4e5389 [file] [log] [blame]
Sam Ravnborgf5e706a2008-07-17 21:55:51 -07001/* irq.h: IRQ registers on the Sparc.
2 *
3 * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net)
4 */
5
6#ifndef _SPARC_IRQ_H
7#define _SPARC_IRQ_H
8
Sam Ravnborg6baa9b22011-04-18 11:25:44 +00009/* Allocated number of logical irq numbers.
10 * sun4d boxes (ss2000e) should be OK with ~32.
11 * Be on the safe side and make room for 64
12 */
13#define NR_IRQS 64
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070014
Christoph Hellwigc4168502009-10-01 13:45:13 -070015#include <linux/interrupt.h>
16
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070017#define irq_canonicalize(irq) (irq)
18
Sam Ravnborg81265fd2008-12-08 01:08:24 -080019extern void __init init_IRQ(void);
David S. Miller16550682011-03-18 15:03:16 -070020
21#define NO_IRQ 0xffffffff
22
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070023#endif