]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blobdiff - drivers/staging/lustre/lustre/ptlrpc/ptlrpcd.c
staging/lustre: remove CFS_MODULE_PARM
[mirror_ubuntu-kernels.git] / drivers / staging / lustre / lustre / ptlrpc / ptlrpcd.c
index 89c9be96f454a57c4dd0839cf92f378883dce91e..2ebdb1b06dde3d945634b8a2521c68f81eb6958f 100644 (file)
@@ -77,12 +77,12 @@ struct ptlrpcd {
 };
 
 static int max_ptlrpcds;
-CFS_MODULE_PARM(max_ptlrpcds, "i", int, 0644,
-               "Max ptlrpcd thread count to be started.");
+module_param(max_ptlrpcds, int, 0644);
+MODULE_PARM_DESC(max_ptlrpcds, "Max ptlrpcd thread count to be started.");
 
 static int ptlrpcd_bind_policy = PDB_POLICY_PAIR;
-CFS_MODULE_PARM(ptlrpcd_bind_policy, "i", int, 0644,
-               "Ptlrpcd threads binding mode.");
+module_param(ptlrpcd_bind_policy, int, 0644);
+MODULE_PARM_DESC(ptlrpcd_bind_policy, "Ptlrpcd threads binding mode.");
 static struct ptlrpcd *ptlrpcds;
 
 struct mutex ptlrpcd_mutex;