]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 6496/1: GIC: Do not try to register more then NR_IRQS interrupts
authorPawel Moll <pawel.moll@arm.com>
Fri, 26 Nov 2010 12:45:43 +0000 (13:45 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 30 Nov 2010 13:38:57 +0000 (13:38 +0000)
commit349b9bddfb7dcf355e67e913a79d751be554a518
tree67ea03e347da896518f96c7611eb792bf6a9f374
parentb003b636e9ae6832a60fe9625655bbd9fe40feac
ARM: 6496/1: GIC: Do not try to register more then NR_IRQS interrupts

This change limits number of GIC-originating interrupts to the
platform maximum (defined by NR_IRQS) while still initialising
all distributor registers.

Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/common/gic.c