e38d3891216cc8a81272755fe32e951e78f27321
1 #ifndef _LTT_WRAPPER_SPINLOCK_H
2 #define _LTT_WRAPPER_SPINLOCK_H
5 * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
7 * Dual LGPL v2.1/GPL v2 license.
10 #include <linux/version.h>
12 #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33))
14 #define raw_spin_lock_init(lock) \
16 *(lock) = __RAW_SPIN_LOCK_UNLOCKED; \
19 #define raw_spin_is_locked(lock) __raw_spin_is_locked(lock)
23 #endif /* _LTT_WRAPPER_SPINLOCK_H */
This page took 0.035223 seconds and 4 git commands to generate.