summaryrefslogtreecommitdiff
path: root/net/rds/stats.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2009-08-21 12:28:32 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-23 19:13:07 -0700
commit616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d (patch)
tree40841513a49c35061c1c131ebfed28ce9a69bb3b /net/rds/stats.c
parent70041088e3b976627ba9a183b812f39ef8a9ba0e (diff)
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/stats.c')
-rw-r--r--net/rds/stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/rds/stats.c b/net/rds/stats.c
index 91d8c58b8335..7598eb07cfb1 100644
--- a/net/rds/stats.c
+++ b/net/rds/stats.c
@@ -37,6 +37,7 @@
#include "rds.h"
DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats);
+EXPORT_PER_CPU_SYMBOL_GPL(rds_stats);
/* :.,$s/unsigned long\>.*\<s_\(.*\);/"\1",/g */
@@ -90,6 +91,7 @@ void rds_stats_info_copy(struct rds_info_iterator *iter,
rds_info_copy(iter, &ctr, sizeof(ctr));
}
}
+EXPORT_SYMBOL_GPL(rds_stats_info_copy);
/*
* This gives global counters across all the transports. The strings