From: Stephen Rothwell Date: Sat, 31 Oct 2009 04:40:59 +0000 Subject: Re: [PATCH 20/27] Split init_new_context and destroy_context Message-Id: <20091031154059.750d7213.sfr@canb.auug.org.au> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Signature=_Sat__31_Oct_2009_15_40_59_+1100_OCeSF4ZC1zwlB_MI" List-Id: References: <1256917647-6200-1-git-send-email-agraf@suse.de> <1256917647-6200-21-git-send-email-agraf@suse.de> In-Reply-To: <1256917647-6200-21-git-send-email-agraf@suse.de> To: Alexander Graf Cc: kvm@vger.kernel.org, Kevin Wolf , Arnd Bergmann , Hollis Blanchard , Marcelo Tosatti , kvm-ppc , linuxppc-dev@ozlabs.org, Avi Kivity , bphilips@suse.de, Olof Johansson --Signature=_Sat__31_Oct_2009_15_40_59_+1100_OCeSF4ZC1zwlB_MI Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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); > =20 > #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 ... --=20 Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/ --Signature=_Sat__31_Oct_2009_15_40_59_+1100_OCeSF4ZC1zwlB_MI Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkrrv9sACgkQjjKRsyhoI8yBHgCeNQ+Mw8Fa+viedzjRnipIOMqo Ra0AoLL+4BzuwNNlvlB9XTVgBRroE9Qz =kOzB -----END PGP SIGNATURE----- --Signature=_Sat__31_Oct_2009_15_40_59_+1100_OCeSF4ZC1zwlB_MI--