ia64/xen-unstable

changeset 12410:16977bd93dbe

[XEN] Add const to variable_test_bit() addr parm.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
author kfraser@localhost.localdomain
date Mon Nov 13 12:06:21 2006 +0000 (2006-11-13)
parents f78bfe7bff73
children c6efd6c2feaa
files xen/include/asm-x86/bitops.h
line diff
     1.1 --- a/xen/include/asm-x86/bitops.h	Mon Nov 13 12:01:43 2006 +0000
     1.2 +++ b/xen/include/asm-x86/bitops.h	Mon Nov 13 12:06:21 2006 +0000
     1.3 @@ -246,7 +246,7 @@ static __inline__ int constant_test_bit(
     1.4  	return ((1U << (nr & 31)) & (((const volatile unsigned int *) addr)[nr >> 5])) != 0;
     1.5  }
     1.6  
     1.7 -static __inline__ int variable_test_bit(int nr, volatile void * addr)
     1.8 +static __inline__ int variable_test_bit(int nr, const volatile void * addr)
     1.9  {
    1.10  	int oldbit;
    1.11