patch-2.4.0-test7 linux/include/asm-m68k/mmu_context.h
Next file: linux/include/asm-m68k/unistd.h
Previous file: linux/include/asm-ia64/unistd.h
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Aug 10 13:30:05 2000
- Orig file:
v2.4.0-test6/linux/include/asm-m68k/mmu_context.h
- Orig date:
Thu Feb 10 17:11:20 2000
diff -u --recursive --new-file v2.4.0-test6/linux/include/asm-m68k/mmu_context.h linux/include/asm-m68k/mmu_context.h
@@ -12,10 +12,11 @@
static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk, unsigned cpu)
{
}
-extern inline void
+extern inline int
init_new_context(struct task_struct *tsk, struct mm_struct *mm)
{
mm->context = virt_to_phys(mm->pgd);
+ return 0;
}
#define destroy_context(mm) do { } while(0)
@@ -108,9 +109,10 @@
extern unsigned char ctx_live[SUN3_CONTEXTS_NUM];
/* set the context for a new task to unmapped */
-static inline void init_new_context(struct task_struct *tsk, struct mm_struct *mm)
+static inline int init_new_context(struct task_struct *tsk, struct mm_struct *mm)
{
mm->context = SUN3_INVALID_CONTEXT;
+ return 0;
}
/* find the context given to this process, and if it hasn't already
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)