Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24147
b: refs/heads/master
c: 0f7217f
h: refs/heads/master
i:
  24145: bf28722
  24143: aac466f
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Mar 26, 2006
1 parent 7b418b8 commit 63846bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 6b53f7870d1657831df23788d1984aac3b5a97bd
refs/heads/master: 0f7217f4accad73e0a86febadb5a5d6e74ff7c37
6 changes: 3 additions & 3 deletions trunk/arch/frv/mm/mmu-context.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ static unsigned get_cxn(mm_context_t *ctx)
/* find the first unallocated context number
* - 0 is reserved for the kernel
*/
cxn = find_next_zero_bit(&cxn_bitmap, NR_CXN, 1);
cxn = find_next_zero_bit(cxn_bitmap, NR_CXN, 1);
if (cxn < NR_CXN) {
set_bit(cxn, &cxn_bitmap);
set_bit(cxn, cxn_bitmap);
}
else {
/* none remaining - need to steal someone else's cxn */
Expand Down Expand Up @@ -138,7 +138,7 @@ void destroy_context(struct mm_struct *mm)
cxn_pinned = -1;

list_del_init(&ctx->id_link);
clear_bit(ctx->id, &cxn_bitmap);
clear_bit(ctx->id, cxn_bitmap);
__flush_tlb_mm(ctx->id);
ctx->id = 0;
}
Expand Down

0 comments on commit 63846bc

Please sign in to comment.