diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-12-12 20:17:37 (GMT) |
---|---|---|
committer | Jamie Iles <jamie@jamieiles.com> | 2011-12-18 10:48:19 (GMT) |
commit | 98e27a5c13badb5c56d9d1d6c8ec210753ac1195 (patch) | |
tree | 4de656653f8bc35f228dead9bf4c868b87b22f71 /arch/arm/mach-picoxcell/include | |
parent | 513c4dd698d1341a53d8a7530ecefb44cb1e2395 (diff) | |
download | linux-98e27a5c13badb5c56d9d1d6c8ec210753ac1195.tar.xz |
ARM: picoxcell: don't reserve irq_descs
All irq_desc's are now dynamically allocated so we don't need to
statically reserve them.
v2: - select SPARSE_IRQ and set .nr_irqs to NR_IRQS_LEGACY to skip
ISA and IRQ 0.
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Diffstat (limited to 'arch/arm/mach-picoxcell/include')
-rw-r--r-- | arch/arm/mach-picoxcell/include/mach/irqs.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-picoxcell/include/mach/irqs.h b/arch/arm/mach-picoxcell/include/mach/irqs.h index 4d13ed9..59eac1e 100644 --- a/arch/arm/mach-picoxcell/include/mach/irqs.h +++ b/arch/arm/mach-picoxcell/include/mach/irqs.h @@ -1,8 +1,6 @@ /* * Copyright (c) 2011 Picochip Ltd., Jamie Iles * - * This file contains the hardware definitions of the picoXcell SoC devices. - * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -16,10 +14,7 @@ #ifndef __MACH_IRQS_H #define __MACH_IRQS_H -#define ARCH_NR_IRQS 64 -#define NR_IRQS (128 + ARCH_NR_IRQS) - -#define IRQ_VIC0_BASE 0 -#define IRQ_VIC1_BASE 32 +/* We dynamically allocate our irq_desc's. */ +#define NR_IRQS 0 #endif /* __MACH_IRQS_H */ |