Commit 201f4390 authored by Bob Picco's avatar Bob Picco Committed by Tony Luck

[IA64] fix declaration of __find_next_zero_bit, first arg is "const"

Signed-off-by: default avatarBob Picco <bob.picco@hp.com>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 168d1068
......@@ -8,7 +8,7 @@
* Find next zero bit in a bitmap reasonably efficiently..
*/
int __find_next_zero_bit (void *addr, unsigned long size, unsigned long offset)
int __find_next_zero_bit (const void *addr, unsigned long size, unsigned long offset)
{
unsigned long *p = ((unsigned long *) addr) + (offset >> 6);
unsigned long result = offset & ~63UL;
......
......@@ -359,7 +359,7 @@ hweight64 (unsigned long x)
#endif /* __KERNEL__ */
extern int __find_next_zero_bit (void *addr, unsigned long size,
extern int __find_next_zero_bit (const void *addr, unsigned long size,
unsigned long offset);
extern int __find_next_bit(const void *addr, unsigned long size,
unsigned long offset);
......
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