diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-03 02:31:07 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-03-03 02:31:07 +0300 |
commit | 64ed28a87a0c075e91c1c5b0fe7d225a6cc6ae39 (patch) | |
tree | a434977a6caa9b41cc0daaf71dbd76ac8693aba6 /arch/arm/mach-shmobile/include/mach/irqs.h | |
parent | b93a4afcff7be859e30cad2a305731516057d6cf (diff) | |
parent | 17ccb834d517c66c09123c24ba8553c5b14e0f78 (diff) | |
download | linux-64ed28a87a0c075e91c1c5b0fe7d225a6cc6ae39.tar.xz |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lethal/genesis-2.6 into devel-stable
Conflicts:
arch/arm/Kconfig
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/irqs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/irqs.h b/arch/arm/mach-shmobile/include/mach/irqs.h new file mode 100644 index 000000000000..5179b72e1ee3 --- /dev/null +++ b/arch/arm/mach-shmobile/include/mach/irqs.h @@ -0,0 +1,10 @@ +#ifndef __ASM_MACH_IRQS_H +#define __ASM_MACH_IRQS_H + +#define NR_IRQS 512 +#define NR_IRQS_LEGACY 8 + +#define evt2irq(evt) (((evt) >> 5) - 16) +#define irq2evt(irq) (((irq) + 16) << 5) + +#endif /* __ASM_MACH_IRQS_H */ |