From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 94627B7C25 for ; Sun, 1 Nov 2009 08:38:00 +1100 (EST) Subject: Re: [PATCH 20/27] Split init_new_context and destroy_context From: Benjamin Herrenschmidt To: Alexander Graf In-Reply-To: <4AECAA0A.1080304@suse.de> 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> Content-Type: text/plain; charset="UTF-8" Date: Sun, 01 Nov 2009 08:37:41 +1100 Message-ID: <1257025061.7907.20.camel@pasglop> Mime-Version: 1.0 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 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.