Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] uml: Eliminate unusable function

Eliminate the non-inline version of switch_mm, which can't be used,
considering the inline version in asm/mmu_context.h

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jeff Dike and committed by
Linus Torvalds
ccfcd37c 804c2415

-10
-10
arch/um/kernel/process_kern.c
··· 115 115 return(pid); 116 116 } 117 117 118 - void switch_mm(struct mm_struct *prev, struct mm_struct *next, 119 - struct task_struct *tsk) 120 - { 121 - int cpu = smp_processor_id(); 122 - 123 - if (prev != next) 124 - cpu_clear(cpu, prev->cpu_vm_mask); 125 - cpu_set(cpu, next->cpu_vm_mask); 126 - } 127 - 128 118 void set_current(void *t) 129 119 { 130 120 struct task_struct *task = t;