[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] x86: smp_mb__{before, after}_clear_bit() are no-ops.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1220535476 -3600 # Node ID 8d982c7a0d303de1200134fcf3a2573f6f4449fa # Parent 7d1eadfe463178b04e20a4a3e8dc28b87301849b x86: smp_mb__{before,after}_clear_bit() are no-ops. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> --- xen/include/asm-x86/bitops.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -r 7d1eadfe4631 -r 8d982c7a0d30 xen/include/asm-x86/bitops.h --- a/xen/include/asm-x86/bitops.h Thu Sep 04 11:55:48 2008 +0100 +++ b/xen/include/asm-x86/bitops.h Thu Sep 04 14:37:56 2008 +0100 @@ -116,8 +116,8 @@ static inline void __clear_bit(int nr, v __clear_bit(nr, addr); \ }) -#define smp_mb__before_clear_bit() barrier() -#define smp_mb__after_clear_bit() barrier() +#define smp_mb__before_clear_bit() ((void)0) +#define smp_mb__after_clear_bit() ((void)0) /** * __change_bit - Toggle a bit in memory _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |