|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] x86: constify second parameter to variable_test_bit(
A previously sent patch was only partially taken - this is the
left out part again.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: 2006-09-11/xen/include/asm-x86/bitops.h
===================================================================
--- 2006-09-11.orig/xen/include/asm-x86/bitops.h 2006-09-11
09:06:11.000000000 +0200
+++ 2006-09-11/xen/include/asm-x86/bitops.h 2006-09-12 09:25:27.000000000
+0200
@@ -246,7 +246,7 @@ static __inline__ int constant_test_bit(
return ((1U << (nr & 31)) & (((const volatile unsigned int *) addr)[nr
>> 5])) != 0;
}
-static __inline__ int variable_test_bit(int nr, volatile void * addr)
+static __inline__ int variable_test_bit(int nr, const volatile void * addr)
{
int oldbit;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] x86: constify second parameter to variable_test_bit(),
Jan Beulich <=
|
|
|
|
|