From: Russell King Date: Thu, 17 May 2007 09:11:34 +0000 (+0100) Subject: [ARM] gic: Fix gic cascade irq handling X-Git-Tag: v2.6.22-rc3~112^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f347bb9136f55ff575d55441a29e92c16e87fb0;p=pandora-kernel.git [ARM] gic: Fix gic cascade irq handling No need for the cascade irq function to have a "fastcall" annotation. Fix the range checking for valid IRQ numbers - comparing the value returned by the GIC with NR_IRQS is meaningless since we translate the GIC irq number to a Linux IRQ number afterwards. Check the GIC returned IRQ number is within limits first, then add the IRQ offset, and only then compare with NR_IRQS. Signed-off-by: Russell King --- Reading git-diff-tree failed