ARM: 6532/1: Allow machine to specify it's own IRQ handlers at run-time
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / arm / include / asm / mach / irq.h
blob6ecdad9a5c42a4eb453ff086ec8f95e4edada8e0
1 /*
2 * arch/arm/include/asm/mach/irq.h
4 * Copyright (C) 1995-2000 Russell King.
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __ASM_ARM_MACH_IRQ_H
11 #define __ASM_ARM_MACH_IRQ_H
13 #include <linux/irq.h>
15 struct seq_file;
18 * This is internal. Do not use it.
20 extern unsigned int arch_nr_irqs;
21 extern void (*init_arch_irq)(void);
22 extern void init_FIQ(void);
23 extern int show_fiq_list(struct seq_file *, void *);
25 #ifdef CONFIG_MULTI_IRQ_HANDLER
26 extern void (*handle_arch_irq)(struct pt_regs *);
27 #endif
30 * This is for easy migration, but should be changed in the source
32 #define do_bad_IRQ(irq,desc) \
33 do { \
34 raw_spin_lock(&desc->lock); \
35 handle_bad_irq(irq, desc); \
36 raw_spin_unlock(&desc->lock); \
37 } while(0)
39 #endif