mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 16:30:53 +00:00
2462bacd03
This patch converts Microblaze to use the irq_domain remapper and get away from hard coding the offset between hwirq number and the linux irq number space. This also paves the way for multiple interrupt controllers. v2: Don't enable SPARSE_IRQ and keep NR_IRQS set to 33 Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Michal Simek <monstr@monstr.eu> Cc: Rob Herring <rob.herring@calxeda.com> Cc: John Williams <john.williams@petalogix.com> Cc: John Linn <john.linn@xilinx.com>
22 lines
532 B
C
22 lines
532 B
C
/*
|
|
* Copyright (C) 2006 Atmark Techno, Inc.
|
|
*
|
|
* 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
|
|
* for more details.
|
|
*/
|
|
|
|
#ifndef _ASM_MICROBLAZE_IRQ_H
|
|
#define _ASM_MICROBLAZE_IRQ_H
|
|
|
|
#define NR_IRQS (32 + 1)
|
|
#include <asm-generic/irq.h>
|
|
|
|
struct pt_regs;
|
|
extern void do_IRQ(struct pt_regs *regs);
|
|
|
|
/* should be defined in each interrupt controller driver */
|
|
extern unsigned int get_irq(void);
|
|
|
|
#endif /* _ASM_MICROBLAZE_IRQ_H */
|