OSDN Git Service

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)
commitcc7efbf91933a4b59c20e60115c336b26dfc1195
tree0b569b956d916dbcc2ce7f7f052ff8c3c0377ec4
parent7167af7cebedc7c2051184fef0e165aeb67d0b9d
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