Commit 0f7217f4 authored by Akinobu Mita's avatar Akinobu Mita Committed by Linus Torvalds

[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: default avatarAkinobu Mita <mita@miraclelinux.com>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 6b53f787
...@@ -54,9 +54,9 @@ static unsigned get_cxn(mm_context_t *ctx) ...@@ -54,9 +54,9 @@ static unsigned get_cxn(mm_context_t *ctx)
/* find the first unallocated context number /* find the first unallocated context number
* - 0 is reserved for the kernel * - 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) { if (cxn < NR_CXN) {
set_bit(cxn, &cxn_bitmap); set_bit(cxn, cxn_bitmap);
} }
else { else {
/* none remaining - need to steal someone else's cxn */ /* none remaining - need to steal someone else's cxn */
...@@ -138,7 +138,7 @@ void destroy_context(struct mm_struct *mm) ...@@ -138,7 +138,7 @@ void destroy_context(struct mm_struct *mm)
cxn_pinned = -1; cxn_pinned = -1;
list_del_init(&ctx->id_link); list_del_init(&ctx->id_link);
clear_bit(ctx->id, &cxn_bitmap); clear_bit(ctx->id, cxn_bitmap);
__flush_tlb_mm(ctx->id); __flush_tlb_mm(ctx->id);
ctx->id = 0; ctx->id = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment