cpus: Fix CPU unplug for MTTCG
commita3e53273ad52551b61c0cdb8f48a19eb22c05831
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Thu, 27 Apr 2017 05:18:22 +0000 (27 10:48 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 10 May 2017 23:45:15 +0000 (11 09:45 +1000)
treee4202766811964ceae4b40e1a04f8035bbe89dd1
parent4771df23ed6a2b13927030d5933147d85785f5d5
cpus: Fix CPU unplug for MTTCG

Ensure that the unplugged CPU thread is destroyed and the waiting
thread is notified about it. This is needed for CPU unplug to work
correctly in MTTCG mode.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
cpus.c