projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: redefinition of DEFINE_WRITEBACK_EVENT
[lttng-modules.git]
/
wrapper
/
spinlock.h
diff --git
a/wrapper/spinlock.h
b/wrapper/spinlock.h
index fdeb91a4d1c58f7289b677cccef9cb44ed2b5a59..bc71b4f4b0df8320c43f4f8c79e3f81489130639 100644
(file)
--- a/
wrapper/spinlock.h
+++ b/
wrapper/spinlock.h
@@
-35,6
+35,13
@@
#define raw_spin_is_locked(lock) __raw_spin_is_locked(lock)
#define raw_spin_is_locked(lock) __raw_spin_is_locked(lock)
+#define wrapper_desc_spin_lock(lock) spin_lock(lock)
+#define wrapper_desc_spin_unlock(lock) spin_unlock(lock)
+
+#else
+
+#define wrapper_desc_spin_lock(lock) raw_spin_lock(lock)
+#define wrapper_desc_spin_unlock(lock) raw_spin_unlock(lock)
#endif
#endif /* _LTTNG_WRAPPER_SPINLOCK_H */
#endif
#endif /* _LTTNG_WRAPPER_SPINLOCK_H */
This page took
0.023384 seconds
and
4
git commands to generate.