From: Benjamin Herrenschmidt Date: Tue, 8 Mar 2011 02:54:50 +0000 (+1100) Subject: powerpc/pmac/smp: Fix CPU hotplug crashes on some machines X-Git-Tag: v2.6.39-rc2~31^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=734796f12351f9a0f38c47b981414f82d852f222;p=pandora-kernel.git powerpc/pmac/smp: Fix CPU hotplug crashes on some machines On some machines that use i2c to synchronize the timebases (such as PowerMac7,2/7,3 G5 machines), hotplug CPU would crash when putting back a new CPU online due to the underlying i2c bus being closed. This uses the newly added bringup_done() callback to move the close along with other housekeeping calls, and adds a CPU notifier to re-open the i2c bus around subsequent hotplug operations Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed