lkml.org 
[lkml]   [2018]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 04/10] locking: export osq_lock()/osq_unlock()
Date
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
---
kernel/locking/osq_lock.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/kernel/locking/osq_lock.c b/kernel/locking/osq_lock.c
index 6ef600aa0f..dfa71347b0 100644
--- a/kernel/locking/osq_lock.c
+++ b/kernel/locking/osq_lock.c
@@ -202,6 +202,7 @@ bool osq_lock(struct optimistic_spin_queue *lock)

return false;
}
+EXPORT_SYMBOL_GPL(osq_lock);

void osq_unlock(struct optimistic_spin_queue *lock)
{
@@ -229,3 +230,4 @@ void osq_unlock(struct optimistic_spin_queue *lock)
if (next)
WRITE_ONCE(next->locked, 1);
}
+EXPORT_SYMBOL_GPL(osq_unlock);
--
2.17.0
\
 
 \ /
  Last update: 2018-05-18 09:54    [W:0.258 / U:9.620 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site