]> git.karo-electronics.de Git - karo-tx-linux.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)
commit208b3a4c196e733b9cec006dc132cfc149b2810a
tree72f0a54c20389b0be3fc2b7d76f2e6d26bd627e2
parente83b906c99eb87a11cd731f6726e60cd8ac9ec4b
powerpc: Fix hard CPU IDs detection

commit 9d07bc841c9779b4d7902e417f4e509996ce805d
"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