summaryrefslogtreecommitdiff
path: root/net/rds/threads.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2009-08-21 16:28:32 +0400
committerDavid S. Miller <davem@davemloft.net>2009-08-24 06:13:07 +0400
commit616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d (patch)
tree40841513a49c35061c1c131ebfed28ce9a69bb3b /net/rds/threads.c
parent70041088e3b976627ba9a183b812f39ef8a9ba0e (diff)
downloadlinux-616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d.tar.xz
RDS: Export symbols from core RDS
Now that rdma and tcp transports will be modularized, we need to export a number of functions so they can call them. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/threads.c')
-rw-r--r--net/rds/threads.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/threads.c b/net/rds/threads.c
index 828a1bf9ea92..dd7e0cad1e7c 100644
--- a/net/rds/threads.c
+++ b/net/rds/threads.c
@@ -68,6 +68,7 @@
* (TCP, IB/RDMA) to provide the necessary synchronisation.
*/
struct workqueue_struct *rds_wq;
+EXPORT_SYMBOL_GPL(rds_wq);
void rds_connect_complete(struct rds_connection *conn)
{
@@ -89,6 +90,7 @@ void rds_connect_complete(struct rds_connection *conn)
queue_delayed_work(rds_wq, &conn->c_send_w, 0);
queue_delayed_work(rds_wq, &conn->c_recv_w, 0);
}
+EXPORT_SYMBOL_GPL(rds_connect_complete);
/*
* This random exponential backoff is relied on to eventually resolve racing