]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit7cedd6014bfe353d4b552ed8d54d63f6e06e26ba
treee65291b54d3de8d90c370581d776dbb4d2aafe05
parentb86206e4c32cbe6ac3de1c6dc52c2d64bcf461cb
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 <anton@samba.org>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/process.c