git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
include
/
asm-um
/
mmu_context.h
diff --git
a/include/asm-um/mmu_context.h
b/include/asm-um/mmu_context.h
index
4ddffc1
..
89bff31
100644
(file)
--- a/
include/asm-um/mmu_context.h
+++ b/
include/asm-um/mmu_context.h
@@
-26,8
+26,8
@@
static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
unsigned cpu = smp_processor_id();
if(prev != next){
unsigned cpu = smp_processor_id();
if(prev != next){
- c
lear_bit(cpu, &
prev->cpu_vm_mask);
-
set_bit(cpu, &
next->cpu_vm_mask);
+ c
pu_clear(cpu,
prev->cpu_vm_mask);
+
cpu_set(cpu,
next->cpu_vm_mask);
if(next != &init_mm)
CHOOSE_MODE((void) 0,
switch_mm_skas(next->context.skas.mm_fd));
if(next != &init_mm)
CHOOSE_MODE((void) 0,
switch_mm_skas(next->context.skas.mm_fd));