diff options
author | Akinobu Mita <mita@miraclelinux.com> | 2006-03-26 01:38:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 08:57:09 -0800 |
commit | 0f7217f4accad73e0a86febadb5a5d6e74ff7c37 (patch) | |
tree | 20ec88cd9e7c18bd465bac32997e84543564a8ec /arch/frv | |
parent | 6b53f7870d1657831df23788d1984aac3b5a97bd (diff) | |
download | linux-3.10-0f7217f4accad73e0a86febadb5a5d6e74ff7c37.tar.gz linux-3.10-0f7217f4accad73e0a86febadb5a5d6e74ff7c37.tar.bz2 linux-3.10-0f7217f4accad73e0a86febadb5a5d6e74ff7c37.zip |
[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>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/mm/mmu-context.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/frv/mm/mmu-context.c b/arch/frv/mm/mmu-context.c index f2c6866fc88..1530a4111e6 100644 --- a/arch/frv/mm/mmu-context.c +++ b/arch/frv/mm/mmu-context.c @@ -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 */ @@ -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; } |