]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita546aef335ced2531e036a01d6e290a9798e776f
tree6a25b21e3dbe60e74513ac60b0f0071498edf7f8
parent1c964bb7c20241731a8848f359738ab523be9db4
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