]> git.baikalelectronics.ru Git - kernel.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)
commit1e686b3c638243e92a07a3c291070c36d15e66bb
treee65291b54d3de8d90c370581d776dbb4d2aafe05
parentb0e2ebda07b4c9fd5694a8c6180f83910e5cd79b
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