s390/topology: call set_sched_topology early
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 24 Sep 2014 14:37:20 +0000 (16:37 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 26 Sep 2014 10:22:39 +0000 (12:22 +0200)
commit48e9a6c1f54695609b709bf674aac133794ada00
tree90058dfb8a3a6b1f758623fcad7ac9bc8e88a90c
parent2a0a5b2299b9bef76123fac91e68d39cb361c33e
s390/topology: call set_sched_topology early

The call to topology_init is too late for the set_sched_topology call.
The initial scheduling domain structure has already been established
with default topology array. Use the smp_cpus_done() call to get the
s390 specific topology array registered early enough.

Cc: stable@vger.kernel.org # v3.16+
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/topology.c