]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
KVM: PPC: Assembly functions exported to modules need _GLOBAL_TOC()
authorAnton Blanchard <anton@samba.org>
Thu, 12 Jun 2014 08:16:53 +0000 (18:16 +1000)
committerAlexander Graf <agraf@suse.de>
Mon, 28 Jul 2014 13:22:14 +0000 (15:22 +0200)
commitad7d4584a225e3c1ac634dc803421fe842491ecf
tree95de3a242428bc4a641eeae474f48d4e6b2b9a7b
parent05a308c722822b0fbcc706b54be70f9bb9d52539
KVM: PPC: Assembly functions exported to modules need _GLOBAL_TOC()

Both kvmppc_hv_entry_trampoline and kvmppc_entry_trampoline are
assembly functions that are exported to modules and also require
a valid r2.

As such we need to use _GLOBAL_TOC so we provide a global entry
point that establishes the TOC (r2).

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv_rmhandlers.S
arch/powerpc/kvm/book3s_rmhandlers.S