Re: [PATCH 20/27] Split init_new_context and destroy_context
From: Stephen Rothwell <hidden>
Date: 2009-10-31 04:41:04
Also in:
kvm
Attachments
- (unnamed) [application/pgp-signature] 198 bytes
From: Stephen Rothwell <hidden>
Date: 2009-10-31 04:41:04
Also in:
kvm
Hi Alexander, On Fri, 30 Oct 2009 16:47:20 +0100 Alexander Graf [off-list ref] 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 ... -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/