/* irq.h: FRV IRQ definitions1*2* Copyright (C) 2006 Red Hat, Inc. All Rights Reserved.3* Written by David Howells ([email protected])4*5* This program is free software; you can redistribute it and/or6* modify it under the terms of the GNU General Public License7* as published by the Free Software Foundation; either version8* 2 of the License, or (at your option) any later version.9*/1011#ifndef _ASM_IRQ_H_12#define _ASM_IRQ_H_1314#define NR_IRQS 4815#define IRQ_BASE_CPU (0 * 16)16#define IRQ_BASE_FPGA (1 * 16)17#define IRQ_BASE_MB93493 (2 * 16)1819/* probe returns a 32-bit IRQ mask:-/ */20#define MIN_PROBE_IRQ (NR_IRQS - 32)2122#ifndef __ASSEMBLY__23static inline int irq_canonicalize(int irq)24{25return irq;26}27#endif2829#endif /* _ASM_IRQ_H_ */303132