Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165635
b: refs/heads/master
c: fa40699
h: refs/heads/master
i:
  165633: 584eb02
  165631: ac58b48
v: v3
  • Loading branch information
Rusty Russell committed Sep 24, 2009
1 parent e633d7b commit 7715db8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 55b8cab49dd43d227f0dd49e3524406fdc46d37b
refs/heads/master: fa40699b975131028a61aa8e095b0b17f350da40
4 changes: 2 additions & 2 deletions trunk/arch/um/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
unsigned cpu = smp_processor_id();

if(prev != next){
cpu_clear(cpu, prev->cpu_vm_mask);
cpu_set(cpu, next->cpu_vm_mask);
cpumask_clear_cpu(cpu, mm_cpumask(prev));
cpumask_set_cpu(cpu, mm_cpumask(next));
if(next != &init_mm)
__switch_mm(&next->context.id);
}
Expand Down

0 comments on commit 7715db8

Please sign in to comment.