summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2005-01-13 05:11:12 -0800
committerDavid S. Miller <davem@nuts.davemloft.net>2005-01-13 05:11:12 -0800
commit97edbb7fb92452d06d846a7986b6983ece262cdc (patch)
treeb11597e27c261bc182c0b3729fad38d9880a544e /include
parentde44a4dd61ae86844ab150ff307fd37240e9c5ce (diff)
[SPARC64]: Make first arg to find_next_zero_bit() const.
Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/asm-sparc64/bitops.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-sparc64/bitops.h b/include/asm-sparc64/bitops.h
index 1289af2416c7..74850fac74c2 100644
--- a/include/asm-sparc64/bitops.h
+++ b/include/asm-sparc64/bitops.h
@@ -223,7 +223,8 @@ extern unsigned long find_next_bit(const unsigned long *, unsigned long,
* on Linus's ALPHA routines, which are pretty portable BTW.
*/
-extern unsigned long find_next_zero_bit(unsigned long *, unsigned long, unsigned long);
+extern unsigned long find_next_zero_bit(const unsigned long *,
+ unsigned long, unsigned long);
#define find_first_zero_bit(addr, size) \
find_next_zero_bit((addr), (size), 0)