Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 1 | /* 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 Ravnborg | 6baa9b2 | 2011-04-18 11:25:44 +0000 | [diff] [blame] | 9 | /* 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 Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 14 | |
Christoph Hellwig | c416850 | 2009-10-01 13:45:13 -0700 | [diff] [blame] | 15 | #include <linux/interrupt.h> |
| 16 | |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 17 | #define irq_canonicalize(irq) (irq) |
| 18 | |
Sam Ravnborg | 81265fd | 2008-12-08 01:08:24 -0800 | [diff] [blame] | 19 | extern void __init init_IRQ(void); |
David S. Miller | 1655068 | 2011-03-18 15:03:16 -0700 | [diff] [blame] | 20 | |
| 21 | #define NO_IRQ 0xffffffff |
| 22 | |
Sam Ravnborg | f5e706a | 2008-07-17 21:55:51 -0700 | [diff] [blame] | 23 | #endif |