powerpc/wsp: Fix IRQ affinity setting
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 8 Feb 2012 18:11:01 +0000 (18:11 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 14 Feb 2012 04:01:38 +0000 (15:01 +1100)
commit7a768d30caa30e66ba89659f1845cc35b1bfc715
tree6a25b21e3dbe60e74513ac60b0f0071498edf7f8
parente62894273c7572cb1bec39096df605f42a66e964
powerpc/wsp: Fix IRQ affinity setting

We call the cache_hwirq_map() function with a linux IRQ number
but it expects a HW irq number. This triggers a BUG on multic-chip
setups in addition to not doing the right thing.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/wsp/ics.c