From: Peter Zijlstra Date: Fri, 19 Nov 2010 19:37:53 +0000 (+0100) Subject: cpu: Remove incorrect BUG_ON X-Git-Tag: v2.6.38-rc1~489^2~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51a96c77815e7f139892a6e9c8275a50e9baebdf;p=pandora-kernel.git cpu: Remove incorrect BUG_ON Oleg mentioned that there is no actual guarantee the dying cpu's migration thread is actually finished running when we get there, so replace the BUG_ON() with a spinloop waiting for it. Reported-by: Oleg Nesterov Signed-off-by: Peter Zijlstra LKML-Reference: Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed