git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
arch
/
sparc64
/
lib
/
find_bit.c
diff --git
a/arch/sparc64/lib/find_bit.c
b/arch/sparc64/lib/find_bit.c
index
420dfba
..
5852614
100644
(file)
--- a/
arch/sparc64/lib/find_bit.c
+++ b/
arch/sparc64/lib/find_bit.c
@@
-6,9
+6,10
@@
* @offset: The bitnumber to start searching at
* @size: The maximum size to search
*/
* @offset: The bitnumber to start searching at
* @size: The maximum size to search
*/
-unsigned long find_next_bit(unsigned long *addr, unsigned long size, unsigned long offset)
+unsigned long find_next_bit(const unsigned long *addr, unsigned long size,
+ unsigned long offset)
{
{
- unsigned long *p = addr + (offset >> 6);
+
const
unsigned long *p = addr + (offset >> 6);
unsigned long result = offset & ~63UL;
unsigned long tmp;
unsigned long result = offset & ~63UL;
unsigned long tmp;