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, 7 Jul 2014 10:02:32 +0000 (12:02 +0200)
commit6ed179b67ca1a05034728ab160905900416b1835
tree66a759a3fbf98ff2f99e39e5cf2c77a3773730bf
parent9715a2e8515217206ebf53040c979fdbeb805a21
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