diff options
author | Will Deacon <will.deacon@arm.com> | 2011-11-25 19:23:36 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-26 21:58:55 +0000 |
commit | fe41db7b3aca512e19b8ef4fbd5ad55545005d25 (patch) | |
tree | c48f6e939edb9140484d511c42dba65487dc92b2 /arch/arm/kernel | |
parent | abdd7b91dab2f8b2e32e90e4b7e809ffb462a662 (diff) |
ARM: 7177/1: GIC: avoid skipping non-existent PPIs in irq_start calculation
Commit 4294f8baa ("ARM: gic: add irq_domain support") defines irq_start
as irq_start = (irq_start & ~31) + 16; On a platform with a GIC and a
CPU without PPIs, this results in irq_start being off by 16.
This patch fixes gic_init so that we only carve out a PPI space when
PPIs exist for the GIC being initialised.
Cc: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions