commit | dd023217e17e72b46fb4d49c7734c426938c3dba | [log] [tgz] |
---|---|---|
author | Nathan Fontenot <nfont@linux.vnet.ibm.com> | Mon Jun 24 22:08:05 2013 -0500 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Mon Jul 01 11:49:34 2013 +1000 |
tree | ab68156166d38800f77502f7bbbc6ba4aa73578b | |
parent | ec207dcc91c62aeccb65b36c7764076f5e5aaddb [diff] |
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 <nfont@linux.vnet.ibm.com> CC: <stable@vger.kernel.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>