commit | 79c5fcebfe4021f326a6715009f0b6b622d5df92 | [log] [tgz] |
---|---|---|
author | Jesse Larrew <jlarrew@linux.vnet.ibm.com> | Thu Jun 07 16:04:34 2012 -0500 |
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Sep 05 16:05:19 2012 +1000 |
tree | 7ebf15489330161ab74aba15d43bee3f17edc3ce | |
parent | 5b716ac728bcc01b1f2a7ed6e437196602237c27 [diff] |
powerpc/vphn: Fix arch_update_cpu_topology() return value arch_update_cpu_topology() should only return 1 when the topology has actually changed, and should return 0 otherwise. This patch fixes a potential bug where rebuild_sched_domains() would reinitialize the sched domains even when the topology hasn't changed. Signed-off-by: Jesse Larrew <jlarrew@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>