summaryrefslogtreecommitdiffstats
path: root/include/asm-m68k/mmu_context.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-28 22:00:09 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-28 22:00:09 +0000
commit1a1d77dd589de5a567fa95e36aa6999c704ceca4 (patch)
tree141e31f89f18b9fe0831f31852e0435ceaccafc5 /include/asm-m68k/mmu_context.h
parentfb9c690a18b3d66925a65b17441c37fa14d4370b (diff)
Merge with 2.4.0-test7.
Diffstat (limited to 'include/asm-m68k/mmu_context.h')
-rw-r--r--include/asm-m68k/mmu_context.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/asm-m68k/mmu_context.h b/include/asm-m68k/mmu_context.h
index d481eb316..003933fae 100644
--- a/include/asm-m68k/mmu_context.h
+++ b/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_next_to_die;
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