Commit e21ab9c4 authored by Peter Chubb's avatar Peter Chubb Committed by David Mosberger

[PATCH] ia64: declare test_bit() arg as "const"

While you're fixing bitops.h, making test_bit take a const qualified
arg will kill some warnings in reiserfs...
parent 26abebb8
......@@ -275,7 +275,7 @@ __test_and_change_bit (int nr, void *addr)
}
static __inline__ int
test_bit (int nr, volatile void *addr)
test_bit (int nr, const volatile void *addr)
{
return 1 & (((const volatile __u32 *) addr)[nr >> 5] >> (nr & 31));
}
......
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