summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/irq.h
diff options
context:
space:
mode:
authorRemis Lima Baima <remis.developer@googlemail.com>2009-06-18 19:55:33 +0200
committerMichal Simek <monstr@monstr.eu>2009-07-06 10:26:55 +0200
commit0a58458341fd571e521be542ff746a4a8995980c (patch)
tree995f6b12689cc2b1a7ebdd013a98754504b77e95 /arch/microblaze/include/asm/irq.h
parent14f8738976991d2f8fb6ab6e10e9003562c3d6bb (diff)
microblaze: convert all simple headers to use asm-generic
All the simple microblaze header files were adapted to use their asm-generic implementations. These files are more simple and were quite straightforward to change. fb.h, vga.h and parport.h previously did not exist, using the generic version makes it possible to build more drivers successfully in allyesonfig. Signed-off-by: Remis Lima Baima <remis.developer@googlemail.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/include/asm/irq.h')
-rw-r--r--arch/microblaze/include/asm/irq.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/irq.h b/arch/microblaze/include/asm/irq.h
index db515deaa72..90f050535eb 100644
--- a/arch/microblaze/include/asm/irq.h
+++ b/arch/microblaze/include/asm/irq.h
@@ -10,6 +10,7 @@
#define _ASM_MICROBLAZE_IRQ_H
#define NR_IRQS 32
+#include <asm-generic/irq.h>
#include <linux/interrupt.h>
@@ -17,11 +18,6 @@ extern unsigned int nr_irq;
#define NO_IRQ (-1)
-static inline int irq_canonicalize(int irq)
-{
- return irq;
-}
-
struct pt_regs;
extern void do_IRQ(struct pt_regs *regs);