]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Add _GLOBAL_TOC for ABIv2 assembly functions exported to modules
authorAnton Blanchard <anton@samba.org>
Thu, 3 Apr 2014 05:01:11 +0000 (16:01 +1100)
committerAnton Blanchard <anton@samba.org>
Wed, 23 Apr 2014 00:05:32 +0000 (10:05 +1000)
commit64a3e7e9a74e812c0e17f601dc0ecba284dc17a9
treea9804c62b8090d719337159fd98294b9282209cf
parent151e1da423c5e5b40c52f9d54a76cf49f2e413a2
powerpc: Add _GLOBAL_TOC for ABIv2 assembly functions exported to modules

If an assembly function that calls back into c code is exported to
modules, we need to ensure r2 is setup correctly. There are only
two places crazy enough to do it (two of which are my fault).

Signed-off-by: Anton Blanchard <anton@samba.org>
arch/powerpc/include/asm/ppc_asm.h
arch/powerpc/lib/copyuser_64.S
arch/powerpc/lib/memcpy_64.S