From: Anton Blanchard Date: Tue, 4 Feb 2014 05:08:51 +0000 (+1100) Subject: powerpc: Fix kernel thread creation on ABIv2 X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~40^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cedd6014bfe353d4b552ed8d54d63f6e06e26ba;p=pandora-kernel.git powerpc: Fix kernel thread creation on ABIv2 Change how we setup registers for ret_from_kernel_thread. In ABIv1, instead of passing a function descriptor in, dereference it and pass the target in directly. Use ppc_global_function_entry to get it right on both ABIv1 and ABIv2. Signed-off-by: Anton Blanchard --- Reading git-diff-tree failed