From: Akinobu Mita <mita@miraclelinux.com>
To: akpm@osdl.org
Cc: linux-kernel@vger.kernel.org,
Akinobu Mita <mita@miraclelinux.com>,
David Howells <dhowells@redhat.com>
Subject: [-mm patch 3/8] frv: remove unnesesary "&"
Date: Tue, 21 Feb 2006 12:46:31 +0900 [thread overview]
Message-ID: <20060221034749.246541000@localhost.localdomain> (raw)
In-Reply-To: 20060221034628.799606000@localhost.localdomain
[-- Attachment #1: frv-cleanup.patch --]
[-- Type: text/plain, Size: 1194 bytes --]
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>
Cc: David Howells <dhowells@redhat.com>
arch/frv/mm/mmu-context.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: 2.6-mm/arch/frv/mm/mmu-context.c
===================================================================
--- 2.6-mm.orig/arch/frv/mm/mmu-context.c
+++ 2.6-mm/arch/frv/mm/mmu-context.c
@@ -54,9 +54,9 @@ static unsigned get_cxn(mm_context_t *ct
/* 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 *m
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;
}
--
next prev parent reply other threads:[~2006-02-21 3:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-21 3:46 [-mm patch 0/8] fix build errors by bitops code consolidation Akinobu Mita
2006-02-21 3:46 ` [-mm patch 1/8] s/fucn/func/ typo fix Akinobu Mita
2006-02-21 3:46 ` [-mm patch 2/8] more s/fucn/func/ typo fixes Akinobu Mita
2006-02-21 3:46 ` Akinobu Mita [this message]
2006-02-21 10:51 ` [-mm patch 3/8] frv: remove unnesesary "&" David Howells
2006-02-21 3:46 ` [-mm patch 4/8] fix error: __u32 undeclared Akinobu Mita
2006-02-21 3:46 ` [-mm patch 5/8] um: fix undefined reference to hweight32 Akinobu Mita
2006-02-21 21:28 ` Jeff Dike
2006-02-21 3:46 ` [-mm patch 6/8] arm: fix undefined reference to generic_fls Akinobu Mita
2006-02-21 3:46 ` [-mm patch 7/8] m68k: fix undefined reference to generic_find_next_zero_le_bit Akinobu Mita
2006-02-21 3:46 ` [-mm patch 8/8] ppc: fix undefined reference to hweight32 Akinobu Mita
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060221034749.246541000@localhost.localdomain \
--to=mita@miraclelinux.com \
--cc=akpm@osdl.org \
--cc=dhowells@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.