/* MN10300 Hardware interrupt definitions1*2* Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.3* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.4* Modified by David Howells ([email protected])5* - Derived from include/asm-i386/irq.h:6* - (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar7*8* This program is free software; you can redistribute it and/or9* modify it under the terms of the GNU General Public Licence10* as published by the Free Software Foundation; either version11* 2 of the Licence, or (at your option) any later version.12*/13#ifndef _ASM_IRQ_H14#define _ASM_IRQ_H1516#include <asm/intctl-regs.h>17#include <asm/reset-regs.h>18#include <proc/irq.h>1920/* this number is used when no interrupt has been assigned */21#define NO_IRQ INT_MAX2223/*24* hardware irq numbers25* - the ASB2364 has an FPGA with an IRQ multiplexer on it26*/27#ifdef CONFIG_MN10300_UNIT_ASB236428#include <unit/irq.h>29#else30#define NR_CPU_IRQS GxICR_NUM_IRQS31#define NR_IRQS NR_CPU_IRQS32#endif3334/* external hardware irq numbers */35#define NR_XIRQS GxICR_NUM_XIRQS3637#define irq_canonicalize(IRQ) (IRQ)3839#endif /* _ASM_IRQ_H */404142