]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/powerpc/lib/copypage_64.S
powerpc: Exported functions __clear_user and copy_page use r2 so need _GLOBAL_TOC()
authorAnton Blanchard <anton@samba.org>
Wed, 4 Jun 2014 22:04:39 +0000 (08:04 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 5 Jun 2014 03:20:41 +0000 (13:20 +1000)
commit2ac7b0166a9bc743893be3f38e7b1729ce975ab9
treeb8c00f151cc95552bff4db7b868e9627a6f816c5
parent6d97d7a28faf19199da12f2512cc7d37dd373cc0
powerpc: Exported functions __clear_user and copy_page use r2 so need _GLOBAL_TOC()

__clear_user and copy_page load from the TOC and are also exported
to modules. This means we have to use _GLOBAL_TOC() so that we
create the global entry point that sets up the TOC.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/lib/copypage_64.S
arch/powerpc/lib/string_64.S