From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Subject: Re: [PATCH 4/4] KVM: PPC: Assembly functions exported to modules need _GLOBAL_TOC() Date: Tue, 17 Jun 2014 18:06:15 +0200 Message-ID: <53A06777.6020103@suse.de> References: <20140612181420.65b05675@kryten> <20140612181653.7141a7b8@kryten> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: Anton Blanchard , benh@kernel.crashing.org, paulus@samba.org, clg@fr.ibm.com Return-path: In-Reply-To: <20140612181653.7141a7b8@kryten> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 12.06.14 10:16, Anton Blanchard wrote: > 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 Thanks, applied to kvm-ppc-queue. I've not applied patches 1 and 2 for now, as they break BE module support. Alex