diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-10-16 04:27:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:06 -0400 |
commit | 6c738ffa9fea6869f5d51882dfefbba746e432b1 (patch) | |
tree | e9b30ccd149f73676422ea5519d6572a3f8e2819 /arch/um/kernel/exec.c | |
parent | fab95c55e3b94e219044dc7a558632d08c198771 (diff) |
uml: fold mmu_context_skas into mm_context
This patch folds mmu_context_skas into struct mm_context, changing all users
of these structures as needed.
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/kernel/exec.c')
-rw-r--r-- | arch/um/kernel/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/exec.c b/arch/um/kernel/exec.c index 25c502617553..7c77adecd919 100644 --- a/arch/um/kernel/exec.c +++ b/arch/um/kernel/exec.c | |||
@@ -23,14 +23,14 @@ void flush_thread(void) | |||
23 | 23 | ||
24 | arch_flush_thread(¤t->thread.arch); | 24 | arch_flush_thread(¤t->thread.arch); |
25 | 25 | ||
26 | ret = unmap(¤t->mm->context.skas.id, 0, end, 1, &data); | 26 | ret = unmap(¤t->mm->context.id, 0, end, 1, &data); |
27 | if (ret) { | 27 | if (ret) { |
28 | printk(KERN_ERR "flush_thread - clearing address space failed, " | 28 | printk(KERN_ERR "flush_thread - clearing address space failed, " |
29 | "err = %d\n", ret); | 29 | "err = %d\n", ret); |
30 | force_sig(SIGKILL, current); | 30 | force_sig(SIGKILL, current); |
31 | } | 31 | } |
32 | 32 | ||
33 | __switch_mm(¤t->mm->context.skas.id); | 33 | __switch_mm(¤t->mm->context.id); |
34 | } | 34 | } |
35 | 35 | ||
36 | void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp) | 36 | void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp) |