Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 08:47:06 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300720 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201605260847.u4Q8l6pY047243@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605260847.u4Q8l6pY047243>