Update spinlock wrapper
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Jun 2011 02:50:25 +0000 (22:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 24 Jun 2011 02:50:25 +0000 (22:50 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
wrapper/spinlock.h

index af00ef2879e2b8043e255ad5feb7828ce5b0afa0..e38d3891216cc8a81272755fe32e951e78f27321 100644 (file)
 
 #define raw_spin_lock_init(lock)                               \
        do {                                                    \
-               *(lock) = __RAW_SPIN_LOCK_UNLOCKED(lock);       \
+               *(lock) = __RAW_SPIN_LOCK_UNLOCKED;             \
        } while (0)
 
-#define raw_spin_is_locked(lock)       spin_is_locked(lock)
+#define raw_spin_is_locked(lock)       __raw_spin_is_locked(lock)
 
 
 #endif
This page took 0.040957 seconds and 4 git commands to generate.