]> 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)
commitc7030b8028b11e7f758d3bf5ce6e3b445ddea37f
tree72f0a54c20389b0be3fc2b7d76f2e6d26bd627e2
parent22aa5bfda92b56d945fc442068fa7650a66ab861
powerpc: Fix hard CPU IDs detection

commit 5558a324dd92487764cd040a464de862ff5e5350
"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