diff options
author | Andy Grover <andy.grover@oracle.com> | 2009-08-21 08:28:32 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-23 22:13:07 -0400 |
commit | 616b757ae18fb8ec2dfe7ff9d3f589f82cb0eb9d (patch) | |
tree | 40841513a49c35061c1c131ebfed28ce9a69bb3b /net/rds/stats.c | |
parent | 70041088e3b976627ba9a183b812f39ef8a9ba0e (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.c | 2 |
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 @@ | |||
37 | #include "rds.h" | 37 | #include "rds.h" |
38 | 38 | ||
39 | DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats); | 39 | DEFINE_PER_CPU_SHARED_ALIGNED(struct rds_statistics, rds_stats); |
40 | EXPORT_PER_CPU_SYMBOL_GPL(rds_stats); | ||
40 | 41 | ||
41 | /* :.,$s/unsigned long\>.*\<s_\(.*\);/"\1",/g */ | 42 | /* :.,$s/unsigned long\>.*\<s_\(.*\);/"\1",/g */ |
42 | 43 | ||
@@ -90,6 +91,7 @@ void rds_stats_info_copy(struct rds_info_iterator *iter, | |||
90 | rds_info_copy(iter, &ctr, sizeof(ctr)); | 91 | rds_info_copy(iter, &ctr, sizeof(ctr)); |
91 | } | 92 | } |
92 | } | 93 | } |
94 | EXPORT_SYMBOL_GPL(rds_stats_info_copy); | ||
93 | 95 | ||
94 | /* | 96 | /* |
95 | * This gives global counters across all the transports. The strings | 97 | * This gives global counters across all the transports. The strings |