diff options
| author | Jesse Larrew <[email protected]> | 2012-06-07 21:04:34 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2012-09-05 06:05:19 +0000 |
| commit | 79c5fcebfe4021f326a6715009f0b6b622d5df92 (patch) | |
| tree | 7ebf15489330161ab74aba15d43bee3f17edc3ce /arch/powerpc/lib/code-patching.c | |
| parent | Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 (diff) | |
| download | kernel-79c5fcebfe4021f326a6715009f0b6b622d5df92.tar.gz kernel-79c5fcebfe4021f326a6715009f0b6b622d5df92.zip | |
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 <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions
