1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2a439fe51SSam Ravnborg /* irq.h: IRQ registers on the Sparc. 3a439fe51SSam Ravnborg * 4a439fe51SSam Ravnborg * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) 5a439fe51SSam Ravnborg */ 6a439fe51SSam Ravnborg 7a439fe51SSam Ravnborg #ifndef _SPARC_IRQ_H 8a439fe51SSam Ravnborg #define _SPARC_IRQ_H 9a439fe51SSam Ravnborg 106baa9b20SSam Ravnborg /* Allocated number of logical irq numbers. 116baa9b20SSam Ravnborg * sun4d boxes (ss2000e) should be OK with ~32. 126baa9b20SSam Ravnborg * Be on the safe side and make room for 64 136baa9b20SSam Ravnborg */ 146baa9b20SSam Ravnborg #define NR_IRQS 64 15a439fe51SSam Ravnborg 16c4168505SChristoph Hellwig #include <linux/interrupt.h> 17c4168505SChristoph Hellwig 18a439fe51SSam Ravnborg #define irq_canonicalize(irq) (irq) 19a439fe51SSam Ravnborg 205ac75688SSam Ravnborg void __init sun4d_init_sbi_irq(void); 2116550680SDavid S. Miller 2216550680SDavid S. Miller #define NO_IRQ 0xffffffff 2316550680SDavid S. Miller 24a439fe51SSam Ravnborg #endif 25