diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2012-01-26 22:10:13 +0100 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-02-16 14:11:24 +0100 |
commit | 2462bacd0334d918f9fcd79fc59c403b76b36f8a (patch) | |
tree | bf3750e5393c1ea27b529c42b0b5721d9560b9e5 /arch/microblaze/include/asm/hardirq.h | |
parent | irq_domain/powerpc: Replace custom xlate functions with library functions (diff) | |
download | linux-2462bacd0334d918f9fcd79fc59c403b76b36f8a.tar.xz linux-2462bacd0334d918f9fcd79fc59c403b76b36f8a.zip |
irq_domain/microblaze: Convert microblaze to use irq_domains
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>
Diffstat (limited to 'arch/microblaze/include/asm/hardirq.h')
-rw-r--r-- | arch/microblaze/include/asm/hardirq.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/microblaze/include/asm/hardirq.h b/arch/microblaze/include/asm/hardirq.h index cd1ac9aad56c..fb3c05a0cbbf 100644 --- a/arch/microblaze/include/asm/hardirq.h +++ b/arch/microblaze/include/asm/hardirq.h @@ -1,17 +1 @@ -/* - * 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_HARDIRQ_H -#define _ASM_MICROBLAZE_HARDIRQ_H - -/* should be defined in each interrupt controller driver */ -extern unsigned int get_irq(struct pt_regs *regs); - #include <asm-generic/hardirq.h> - -#endif /* _ASM_MICROBLAZE_HARDIRQ_H */ |