|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [XEN] Add const to variable_test_bit() ad
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID 16977bd93dbebe30060e4b4462938f21f5b14275
# Parent f78bfe7bff73c439c047ecd09f20424236e3e962
[XEN] Add const to variable_test_bit() addr parm.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
xen/include/asm-x86/bitops.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r f78bfe7bff73 -r 16977bd93dbe xen/include/asm-x86/bitops.h
--- a/xen/include/asm-x86/bitops.h Mon Nov 13 12:01:43 2006 +0000
+++ b/xen/include/asm-x86/bitops.h Mon Nov 13 12:06:21 2006 +0000
@@ -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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [XEN] Add const to variable_test_bit() addr parm.,
Xen patchbot-unstable <=
|
|
|
|
|