From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.redhat.com (mx2.redhat.com [66.187.237.31]) by ozlabs.org (Postfix) with ESMTP id 61DA4DDDFF for ; Tue, 2 Jun 2009 19:59:22 +1000 (EST) Message-ID: <4A24F772.8070904@redhat.com> Date: Tue, 02 Jun 2009 12:57:06 +0300 From: Avi Kivity MIME-Version: 1.0 To: Stephen Rothwell Subject: Re: [PATCH] powerpc/kvm: fix some init/exit annotations References: <20090602114614.50f8f0dd.sfr@canb.auug.org.au> In-Reply-To: <20090602114614.50f8f0dd.sfr@canb.auug.org.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Liu Yu , Hollis Blanchard , kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, ppc-dev List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Stephen Rothwell wrote: > Fixes a couple of warnings like this one: > > WARNING: arch/powerpc/kvm/kvm-440.o(.text+0x1e8c): Section mismatch in reference from the function kvmppc_44x_exit() to the function .exit.text:kvmppc_booke_exit() > The function kvmppc_44x_exit() references a function in an exit section. > Often the function kvmppc_booke_exit() has valid usage outside the exit section > and the fix is to remove the __exit annotation of kvmppc_booke_exit. > Applied, thanks. -- error compiling committee.c: too many arguments to function