Author: hselasky
Date: Thu May 26 08:47:06 2016
New Revision: 300720
URL: https://svnweb.freebsd.org/changeset/base/300720

Log:
  Add more module parameter macros to the LinuxKPI.
  
  Obtained from:        kmacy @
  Sponsored by: Mellanox Technologies

Modified:
  head/sys/compat/linuxkpi/common/include/linux/moduleparam.h

Modified: head/sys/compat/linuxkpi/common/include/linux/moduleparam.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/moduleparam.h Thu May 26 
08:44:11 2016        (r300719)
+++ head/sys/compat/linuxkpi/common/include/linux/moduleparam.h Thu May 26 
08:47:06 2016        (r300720)
@@ -110,6 +110,12 @@
 #define        module_param(var, type, mode)   \
        LINUXKPI_PARAM_##type(var, var)
 
+#define        module_param_named_unsafe(name, var, type, mode) \
+       LINUXKPI_PARAM_##type(name, var)
+
+#define        module_param_unsafe(var, type, mode) \
+       LINUXKPI_PARAM_##type(var, var)
+
 #define        module_param_array(var, type, addr_argc, mode)
 
 #define        MODULE_PARM_DESC(name, desc) \
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to