patch-2.4.0-test7 linux/include/asm-sh/mmu_context.h

Next file: linux/include/asm-sh/unistd.h
Previous file: linux/include/asm-sh/machvec_init.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-sh/mmu_context.h linux/include/asm-sh/mmu_context.h
@@ -67,10 +67,11 @@
  * Initialize the context related info for a new mm_struct
  * instance.
  */
-extern __inline__ void init_new_context(struct task_struct *tsk,
+extern __inline__ int init_new_context(struct task_struct *tsk,
 					struct mm_struct *mm)
 {
 	mm->context = NO_CONTEXT;
+	return 0;
 }
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)