]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Fix hard CPU IDs detection
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 May 2011 07:50:18 +0000 (17:50 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 20 May 2011 07:50:18 +0000 (17:50 +1000)
commit2c13d55a3f198094bfed7701c9357dbee21c806a
tree72f0a54c20389b0be3fc2b7d76f2e6d26bd627e2
parentca765030955c3a52bdf06adea02f02f840da038d
powerpc: Fix hard CPU IDs detection

commit 856548164958aed43b349cbd943ff7b55242232c
"powerpc: Properly handshake CPUs going out of boot spin loop"

Would cause a miscalculation of the hard CPU ID. It removes breaking
out of the loop when finding a match with a processor, thus the "i"
used as an index in the intserv array is always incorrect

This broke interrupt on my PowerMac laptop.

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