Commit 0f7217f4accad73e0a86febadb5a5d6e74ff7c37
Committed by
Linus Torvalds
1 parent
6b53f7870d
[PATCH] frv: remove unnesesary "&"
Fix warning messages triggered by bitops code consolidation patches. cxn_bitmap is the array of unsigned long. '&' is unnesesary for the argument of *_bit() routins. Signed-off-by: Akinobu Mita <mita@miraclelinux.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
arch/frv/mm/mmu-context.c
... | ... | @@ -54,9 +54,9 @@ |
54 | 54 | /* find the first unallocated context number |
55 | 55 | * - 0 is reserved for the kernel |
56 | 56 | */ |
57 | - cxn = find_next_zero_bit(&cxn_bitmap, NR_CXN, 1); | |
57 | + cxn = find_next_zero_bit(cxn_bitmap, NR_CXN, 1); | |
58 | 58 | if (cxn < NR_CXN) { |
59 | - set_bit(cxn, &cxn_bitmap); | |
59 | + set_bit(cxn, cxn_bitmap); | |
60 | 60 | } |
61 | 61 | else { |
62 | 62 | /* none remaining - need to steal someone else's cxn */ |
... | ... | @@ -138,7 +138,7 @@ |
138 | 138 | cxn_pinned = -1; |
139 | 139 | |
140 | 140 | list_del_init(&ctx->id_link); |
141 | - clear_bit(ctx->id, &cxn_bitmap); | |
141 | + clear_bit(ctx->id, cxn_bitmap); | |
142 | 142 | __flush_tlb_mm(ctx->id); |
143 | 143 | ctx->id = 0; |
144 | 144 | } |