powerpc: modules: use r12 for stub jump address.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 18 Mar 2014 09:42:59 +0000 (20:12 +1030)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:31 +0000 (10:05 +1000)
commitb1ce369e820aaca3d91e9d9bbaaf860794d9ab01
treef37463a7cdac3c2413286785631cda47426fff58
parentd2fae548039987e0c64957ede44822305fdafb66
powerpc: modules: use r12 for stub jump address.

In ELFv2, r12 is supposed to equal to PC on entry to a function.
Our stubs use r11, so change swap that with r12.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/kernel/module_64.c