Skip to content

Commit

Permalink
ARM: cns3xxx: enable sparse IRQ support
Browse files Browse the repository at this point in the history
This trivially enables sparse IRQ on cns3xxx by moving the
nr_irqs definition from mach/irqs.h into the machine
descriptor. These interrupts will still get statically
assigned, so nothing changes here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
  • Loading branch information
Arnd Bergmann committed Mar 14, 2013
1 parent 3f9fb2a commit 2f72a68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 24 deletions.
1 change: 1 addition & 0 deletions arch/arm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,7 @@ config ARCH_CNS3XXX
select MIGHT_HAVE_CACHE_L2X0
select MIGHT_HAVE_PCI
select PCI_DOMAINS if PCI
select SPARSE_IRQ
help
Support for Cavium Networks CNS3XXX platform.

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-cns3xxx/cns3420vb.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ static void __init cns3420_map_io(void)

MACHINE_START(CNS3420VB, "Cavium Networks CNS3420 Validation Board")
.atag_offset = 0x100,
.nr_irqs = NR_IRQS_CNS3XXX,
.map_io = cns3420_map_io,
.init_irq = cns3xxx_init_irq,
.init_time = cns3xxx_timer_init,
Expand Down
24 changes: 0 additions & 24 deletions arch/arm/mach-cns3xxx/include/mach/irqs.h

This file was deleted.

0 comments on commit 2f72a68

Please sign in to comment.