From: Nathan Fontenot Date: Tue, 25 Jun 2013 03:08:05 +0000 (-0500) Subject: powerpc/numa: Do not update sysfs cpu registration from invalid context X-Git-Tag: v3.11-rc1~94^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd023217e17e72b46fb4d49c7734c426938c3dba;p=pandora-kernel.git powerpc/numa: Do not update sysfs cpu registration from invalid context The topology update code that updates the cpu node registration in sysfs should not be called while in stop_machine(). The register/unregister calls take a lock and may sleep. This patch moves these calls outside of the call to stop_machine(). Signed-off-by: Nathan Fontenot CC: Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed