ia64/xen-unstable

changeset 18440:8d982c7a0d30

x86: smp_mb__{before,after}_clear_bit() are no-ops.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Sep 04 14:37:56 2008 +0100 (2008-09-04)
parents 7d1eadfe4631
children ae9b223a675d
files xen/include/asm-x86/bitops.h
line diff
     1.1 --- a/xen/include/asm-x86/bitops.h	Thu Sep 04 11:55:48 2008 +0100
     1.2 +++ b/xen/include/asm-x86/bitops.h	Thu Sep 04 14:37:56 2008 +0100
     1.3 @@ -116,8 +116,8 @@ static inline void __clear_bit(int nr, v
     1.4      __clear_bit(nr, addr);                              \
     1.5  })
     1.6  
     1.7 -#define smp_mb__before_clear_bit() barrier()
     1.8 -#define smp_mb__after_clear_bit()  barrier()
     1.9 +#define smp_mb__before_clear_bit() ((void)0)
    1.10 +#define smp_mb__after_clear_bit()  ((void)0)
    1.11  
    1.12  /**
    1.13   * __change_bit - Toggle a bit in memory