Author: hselasky
Date: Tue Mar 13 16:31:54 2018
New Revision: 330863
URL: https://svnweb.freebsd.org/changeset/base/330863

Log:
  MFC r330399:
  Stub kernel_param_lock() and kernel_param_unlock() in the LinuxKPI.
  
  Submitted by: Johannes Lundberg <johal...@gmail.com>
  Sponsored by: Mellanox Technologies
  Sponsored by: Limelight Networks

Modified:
  stable/11/sys/compat/linuxkpi/common/include/linux/moduleparam.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/moduleparam.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/moduleparam.h    Tue Mar 
13 16:30:51 2018        (r330862)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/moduleparam.h    Tue Mar 
13 16:31:54 2018        (r330863)
@@ -125,6 +125,9 @@
 #define        MODULE_PARM_DESC(name, desc) \
        const char LINUXKPI_PARAM_DESC(name)[] = { desc }
 
+#define        kernel_param_lock(...) do {} while (0)
+#define        kernel_param_unlock(...) do {} while (0)
+
 SYSCTL_DECL(_compat_linuxkpi);
 
 #endif                                 /* _LINUX_MODULEPARAM_H_ */
_______________________________________________
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