projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Detect unbalanced lock/unlock
[userspace-rcu.git]
/
urcu
/
static
/
urcu.h
diff --git
a/urcu/static/urcu.h
b/urcu/static/urcu.h
index 0fe32e88cea48241a463054f4e4411aee0428e3a..9659a2f0d822bb077fc4d63bcae17a013751ca10 100644
(file)
--- a/
urcu/static/urcu.h
+++ b/
urcu/static/urcu.h
@@
-216,7
+216,8
@@
static inline void _rcu_read_lock_update(unsigned long tmp)
* intent is that this function meets the 10-line criterion in LGPL,
* allowing this function to be invoked directly from non-LGPL code.
*/
* intent is that this function meets the 10-line criterion in LGPL,
* allowing this function to be invoked directly from non-LGPL code.
*/
-static inline void _rcu_read_lock(void)
+static inline __attribute__((always_inline))
+void _rcu_read_lock(void)
{
unsigned long tmp;
{
unsigned long tmp;
@@
-250,7
+251,8
@@
static inline void _rcu_read_unlock_update_and_wakeup(unsigned long tmp)
* helper are smaller than 10 lines of code, and are intended to be
* usable by non-LGPL code, as called out in LGPL.
*/
* helper are smaller than 10 lines of code, and are intended to be
* usable by non-LGPL code, as called out in LGPL.
*/
-static inline void _rcu_read_unlock(void)
+static inline __attribute__((always_inline))
+void _rcu_read_unlock(void)
{
unsigned long tmp;
{
unsigned long tmp;
This page took
0.023096 seconds
and
4
git commands to generate.