]> git.karo-electronics.de Git - linux-beck.git/commitdiff
powerpc: Fix kernel thread creation on ABIv2
authorAnton Blanchard <anton@samba.org>
Tue, 4 Feb 2014 05:08:51 +0000 (16:08 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:23 +0000 (10:05 +1000)
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 <anton@samba.org>

No differences found