Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4773
b: refs/heads/master
c: ddca3b8
h: refs/heads/master
i:
  4771: 7d91d55
v: v3
  • Loading branch information
Guillaume Autran authored and Linus Torvalds committed Jul 13, 2005
1 parent 597d88a commit 41d3430
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 88bd5121d635136e01369141367f315665534b3c
refs/heads/master: ddca3b80cef36cc668f924ef5154a79acb19ebd7
2 changes: 2 additions & 0 deletions trunk/include/asm-ppc/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,15 @@ static inline void get_mmu_context(struct mm_struct *mm)
*/
static inline void destroy_context(struct mm_struct *mm)
{
preempt_disable();
if (mm->context != NO_CONTEXT) {
clear_bit(mm->context, context_map);
mm->context = NO_CONTEXT;
#ifdef FEW_CONTEXTS
atomic_inc(&nr_free_contexts);
#endif
}
preempt_enable();
}

static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
Expand Down

0 comments on commit 41d3430

Please sign in to comment.