blob: eecd3d8442c967f3312a66e00ba78691af91dd67 [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 Ravnborgf05a6862014-05-16 23:25:50 +020019void __init init_IRQ(void);
Sam Ravnborg5ac75682014-04-21 21:39:23 +020020void __init sun4d_init_sbi_irq(void);
David S. Miller16550682011-03-18 15:03:16 -070021
22#define NO_IRQ 0xffffffff
23
Sam Ravnborgf5e706a2008-07-17 21:55:51 -070024#endif