Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123041
b: refs/heads/master
c: 4ee5f55
h: refs/heads/master
i:
  123039: 0d184fe
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Dec 3, 2008
1 parent c6004d8 commit 9e83c53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1b98326b91eb9eea346945779e1f245aa66b17ce
refs/heads/master: 4ee5f55175a85fc179c93f00dd7f6a99c896f4d6
3 changes: 3 additions & 0 deletions trunk/arch/powerpc/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,

tsk->thread.pgdir = next->pgd;

if (!cpu_isset(smp_processor_id(), next->cpu_vm_mask))
cpu_set(smp_processor_id(), next->cpu_vm_mask);

/* No need to flush userspace segments if the mm doesnt change */
if (prev == next)
return;
Expand Down

0 comments on commit 9e83c53

Please sign in to comment.