From: Will Deacon Date: Fri, 25 Nov 2011 18:23:36 +0000 (+0100) Subject: ARM: 7177/1: GIC: avoid skipping non-existent PPIs in irq_start calculation X-Git-Tag: v3.2-rc4~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe41db7b3aca512e19b8ef4fbd5ad55545005d25;p=pandora-kernel.git 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 Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed