From: Paul Mackerras Date: Sat, 16 Apr 2005 22:24:16 +0000 (-0700) Subject: [PATCH] ppc32: improve timebase sync for SMP X-Git-Tag: v2.6.12-rc3~218 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6460b4cceba0181308042c8d8794eb679bfa22e5;p=pandora-kernel.git [PATCH] ppc32: improve timebase sync for SMP Currently the procedure in the ppc32 kernel that synchronizes the timebase registers across an SMP powermac system does so by setting both timebases to zero. That is OK at boot but causes problems if done later. So that we can do hotplug CPU on these machines, this patch changes the code so it reads the timebase from one CPU and transfers the value to the other CPU. (Hotplug CPU is needed for sleep (aka suspend to RAM) to work.) Signed-off-by: Paul Mackerras Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed