From: Michael Ellerman Date: Mon, 11 Apr 2011 21:46:19 +0000 (+0000) Subject: powerpc/smp: smp_ops->kick_cpu() should be able to fail X-Git-Tag: v3.0-rc1~385^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de300974761d92f71cb583730ac9e1d4eb1b7156;p=pandora-kernel.git powerpc/smp: smp_ops->kick_cpu() should be able to fail When we start a cpu we use smp_ops->kick_cpu(), which currently returns void, it should be able to fail. Convert it to return int, and update all uses. Convert all the current error cases to return -ENOENT, which is what would eventually be returned by __cpu_up() currently when it doesn't detect the cpu as coming up in time. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed