diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-22 13:50:13 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2012-02-27 00:33:58 (GMT) |
commit | fe83364f0bf11fcb20cecbe944a95834632ffffb (patch) | |
tree | 5596915cd3980617166522aabcd7d5f8b71b5c49 /mm/shmem.c | |
parent | f851013cb2238a82782da03ac82a14447933f90d (diff) | |
download | linux-fe83364f0bf11fcb20cecbe944a95834632ffffb.tar.xz |
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 <benh@kernel.crashing.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions