Thread (48 messages) 48 messages, 6 authors, 2009-11-05

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

Hi Alexander,

On Fri, 30 Oct 2009 16:47:20 +0100 Alexander Graf [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- 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/

Attachments

  • (unnamed) [application/pgp-signature] 198 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help