Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-6245 libcfs: replace CFS_MODULE_PARAM with linux kernel module api
[fs/lustre-release.git]
/
lnet
/
lnet
/
module.c
diff --git
a/lnet/lnet/module.c
b/lnet/lnet/module.c
index
e8c565d
..
eee6ff4
100644
(file)
--- a/
lnet/lnet/module.c
+++ b/
lnet/lnet/module.c
@@
-39,8
+39,8
@@
#include <lnet/lib-dlc.h>
static int config_on_load = 0;
#include <lnet/lib-dlc.h>
static int config_on_load = 0;
-CFS_MODULE_PARM(config_on_load, "i", int, 0444,
-
"configure network at module load");
+module_param(config_on_load, int, 0444);
+
MODULE_PARM_DESC(config_on_load,
"configure network at module load");
static struct mutex lnet_config_mutex;
static struct mutex lnet_config_mutex;