svn commit: r300720 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Thu May 26 08:47:07 UTC 2016


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) \


More information about the svn-src-all mailing list