]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: ABIv2 function calls must place target address in r12
authorAnton Blanchard <anton@samba.org>
Tue, 4 Feb 2014 05:07:47 +0000 (16:07 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:20 +0000 (10:05 +1000)
commit4682c1f604cb27108bfb5e2bb3960d269b7f1873
tree0b569b956d916dbcc2ce7f7f052ff8c3c0377ec4
parente5e5436a3b37c8dd3f76b81e67f62ea47448b67a
powerpc: ABIv2 function calls must place target address in r12

To establish addressability quickly, ABIv2 requires the target
address of the function being called to be in r12. Fix a number of
places in assembly code that we do indirect function calls.

We need to avoid function descriptors on ABIv2 too.

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/head_64.S
arch/powerpc/kernel/misc_64.S