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/info.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/info.c')
-rw-r--r-- | net/rds/info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/rds/info.c b/net/rds/info.c index 62aeef37aefe..814a91a6f4a7 100644 --- a/net/rds/info.c +++ b/net/rds/info.c | |||
@@ -79,6 +79,7 @@ void rds_info_register_func(int optname, rds_info_func func) | |||
79 | rds_info_funcs[offset] = func; | 79 | rds_info_funcs[offset] = func; |
80 | spin_unlock(&rds_info_lock); | 80 | spin_unlock(&rds_info_lock); |
81 | } | 81 | } |
82 | EXPORT_SYMBOL_GPL(rds_info_register_func); | ||
82 | 83 | ||
83 | void rds_info_deregister_func(int optname, rds_info_func func) | 84 | void rds_info_deregister_func(int optname, rds_info_func func) |
84 | { | 85 | { |
@@ -91,6 +92,7 @@ void rds_info_deregister_func(int optname, rds_info_func func) | |||
91 | rds_info_funcs[offset] = NULL; | 92 | rds_info_funcs[offset] = NULL; |
92 | spin_unlock(&rds_info_lock); | 93 | spin_unlock(&rds_info_lock); |
93 | } | 94 | } |
95 | EXPORT_SYMBOL_GPL(rds_info_deregister_func); | ||
94 | 96 | ||
95 | /* | 97 | /* |
96 | * Typically we hold an atomic kmap across multiple rds_info_copy() calls | 98 | * Typically we hold an atomic kmap across multiple rds_info_copy() calls |
@@ -137,6 +139,7 @@ void rds_info_copy(struct rds_info_iterator *iter, void *data, | |||
137 | } | 139 | } |
138 | } | 140 | } |
139 | } | 141 | } |
142 | EXPORT_SYMBOL_GPL(rds_info_copy); | ||
140 | 143 | ||
141 | /* | 144 | /* |
142 | * @optval points to the userspace buffer that the information snapshot | 145 | * @optval points to the userspace buffer that the information snapshot |