diff options
Diffstat (limited to 'lib/lockref.c')
| -rw-r--r-- | lib/lockref.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/lockref.c b/lib/lockref.c index 6f9d434c1521..d2b123f8456b 100644 --- a/lib/lockref.c +++ b/lib/lockref.c | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #include <linux/export.h> | 1 | #include <linux/export.h> |
| 2 | #include <linux/lockref.h> | 2 | #include <linux/lockref.h> |
| 3 | 3 | ||
| 4 | #ifdef CONFIG_CMPXCHG_LOCKREF | 4 | #if USE_CMPXCHG_LOCKREF |
| 5 | 5 | ||
| 6 | /* | 6 | /* |
| 7 | * Allow weakly-ordered memory architectures to provide barrier-less | 7 | * Allow weakly-ordered memory architectures to provide barrier-less |
| @@ -153,6 +153,7 @@ void lockref_mark_dead(struct lockref *lockref) | |||
| 153 | assert_spin_locked(&lockref->lock); | 153 | assert_spin_locked(&lockref->lock); |
| 154 | lockref->count = -128; | 154 | lockref->count = -128; |
| 155 | } | 155 | } |
| 156 | EXPORT_SYMBOL(lockref_mark_dead); | ||
| 156 | 157 | ||
| 157 | /** | 158 | /** |
| 158 | * lockref_get_not_dead - Increments count unless the ref is dead | 159 | * lockref_get_not_dead - Increments count unless the ref is dead |
