Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
bitops.h File Reference
#include <linux/compiler.h>
#include <linux/types.h>
#include <asm/intrinsics.h>
#include <asm-generic/bitops/find.h>

Go to the source code of this file.

Macros

#define smp_mb__before_clear_bit()   smp_mb()
 
#define smp_mb__after_clear_bit()   do { /* skip */; } while (0)
 
#define test_and_set_bit_lock   test_and_set_bit
 

Macro Definition Documentation

#define smp_mb__after_clear_bit ( )    do { /* skip */; } while (0)

Definition at line 72 of file bitops.h.

#define smp_mb__before_clear_bit ( )    smp_mb()

Definition at line 71 of file bitops.h.

#define test_and_set_bit_lock   test_and_set_bit

test_and_set_bit_lock - Set a bit and return its old value for lock : Bit to set : Address to count from

This is the same as test_and_set_bit on ia64

Definition at line 228 of file bitops.h.