diff options
author | Remis Lima Baima <remis.developer@googlemail.com> | 2009-06-18 19:55:33 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-07-06 10:26:55 +0200 |
commit | 0a58458341fd571e521be542ff746a4a8995980c (patch) | |
tree | 995f6b12689cc2b1a7ebdd013a98754504b77e95 /arch/microblaze/include/asm/irq.h | |
parent | microblaze: use the generic lib/checksum.c (diff) | |
download | linux-0a58458341fd571e521be542ff746a4a8995980c.tar.xz linux-0a58458341fd571e521be542ff746a4a8995980c.zip |
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.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/microblaze/include/asm/irq.h b/arch/microblaze/include/asm/irq.h index db515deaa720..90f050535ebe 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); |