[S390] cpu hotplug: on cpu start wait until being marked active
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:27 +0000 (16:44 +0200)
committerHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 3 Aug 2011 14:44:20 +0000 (16:44 +0200)
commitcc34321d5806b7919531a1d951bb6deb62c163c9
tree620b8e88e1f222e53c5ec207d403c936611cc10c
parent391c62feb1798b6d31bd88076eae649b091ad8bf
[S390] cpu hotplug: on cpu start wait until being marked active

This is the same as fd8a7de1 "x86: cpu-hotplug: Prevent softirq wakeup
on wrong CPU".
Unlike on x86 this doesn't fix a bug on s390 since we do not have
threaded interrupt handlers. However we want to keep the same
initialization order like on x86. This should prevent bugs caused by
code which assumes (and relies on) the init order is the same on each
architecture.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
arch/s390/kernel/smp.c