Package: realtime-lsm-source
Version: 0.1.1-6

The old MODULE_PARM has been removed from the kernel
and replaced with module_param



kublai:/usr/src/modules/realtime-lsm# diff -u
realcap.c.orig realcap.c

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--- realcap.c.orig      2004-05-10 19:54:16.000000000 -0400
+++ realcap.c   2006-05-09 23:07:35.000000000 -0400
@@ -33,19 +33,19 @@
 
 /* module parameters */
 static int any = 0;                    /* if TRUE, any process is realtime */
-MODULE_PARM(any, "i");
+module_param(any, int, 0);
 MODULE_PARM_DESC(any, " grant realtime privileges to any process.");
 
 static int gid = -1;                   /* realtime group id, or NO_GROUP */
-MODULE_PARM(gid, "i");
+module_param(gid, int, 0);
 MODULE_PARM_DESC(gid, " the group ID with access to realtime privileges.");
 
 static int mlock = 1;                  /* enable mlock() privileges */
-MODULE_PARM(mlock, "i");
+module_param(mlock, int, 0);
 MODULE_PARM_DESC(mlock, " enable memory locking privileges.");
 
 static int allcaps = 0;                        /* enable all capabilities */
-MODULE_PARM(allcaps, "i");
+module_param(allcaps, int, 0);
 MODULE_PARM_DESC(allcaps, " enable all capabilities, including CAP_SETPCAP.");
 
 static kernel_cap_t cap_bset_save;     /* place to save cap-bound */

Reply via email to