| * include/asm-xtensa/irq.h |
| * This file is subject to the terms and conditions of the GNU General Public |
| * License. See the file "COPYING" in the main directory of this archive |
| * Copyright (C) 2001 - 2005 Tensilica Inc. |
| #include <linux/config.h> |
| #include <asm/platform/hardware.h> |
| #include <xtensa/config/core.h> |
| # define PLATFORM_NR_IRQS 0 |
| #define XTENSA_NR_IRQS XCHAL_NUM_INTERRUPTS |
| #define NR_IRQS (XTENSA_NR_IRQS + PLATFORM_NR_IRQS) |
| static __inline__ int irq_canonicalize(int irq) |
| extern void disable_irq_nosync(unsigned int); |
| extern void disable_irq(unsigned int); |
| extern void enable_irq(unsigned int); |
| #endif /* _XTENSA_IRQ_H */ |