From: Benjamin Herrenschmidt Date: Wed, 22 Feb 2012 13:50:13 +0000 (+0000) Subject: powerpc/mpic: Fix allocation of reverse-map for multi-ISU mpics X-Git-Tag: v3.4-rc1~159^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe83364f0bf11fcb20cecbe944a95834632ffffb;p=pandora-kernel.git powerpc/mpic: Fix allocation of reverse-map for multi-ISU mpics When using a multi-ISU MPIC, we can interrupts up to isu_size * MPIC_MAX_ISU, not just isu_size, so allocate the right size reverse map. Without this, the code will constantly fallback to a linear search. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed