From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 20/27] Split init_new_context and destroy_context Date: Sun, 01 Nov 2009 08:37:41 +1100 Message-ID: <1257025061.7907.20.camel@pasglop> References: <1256917647-6200-1-git-send-email-agraf@suse.de> <1256917647-6200-21-git-send-email-agraf@suse.de> <20091031154059.750d7213.sfr@canb.auug.org.au> <4AECAA0A.1080304@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Kevin Wolf , Stephen Rothwell , Arnd Bergmann , Hollis Blanchard , Marcelo Tosatti , kvm-ppc , linuxppc-dev@ozlabs.org, Avi Kivity , kvm@vger.kernel.org, bphilips@suse.de, Olof Johansson To: Alexander Graf Return-path: In-Reply-To: <4AECAA0A.1080304@suse.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@lists.ozlabs.org List-Id: kvm.vger.kernel.org On Sat, 2009-10-31 at 22:20 +0100, Alexander Graf wrote: > Stephen Rothwell wrote: > > Hi Alexander, > > > > On Fri, 30 Oct 2009 16:47:20 +0100 Alexander Graf wrote: > > > >> --- a/arch/powerpc/include/asm/mmu_context.h > >> +++ b/arch/powerpc/include/asm/mmu_context.h > >> @@ -23,6 +23,11 @@ extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm); > >> extern void set_context(unsigned long id, pgd_t *pgd); > >> > >> #ifdef CONFIG_PPC_BOOK3S_64 > >> +extern int __init_new_context(void); > >> +extern void __destroy_context(int context_id); > >> +#endif > >> + > >> +#ifdef CONFIG_PPC_BOOK3S_64 > >> > > > > don't add the #endif/#ifdef pair ... > > Any other comments? I'd like to wind up a final patch set so I can stop > spamming on all those MLs :-). Just send an update for -that- patch to the list. Ben.