Author: hselasky
Date: Sun Mar  4 19:10:30 2018
New Revision: 330399
URL: https://svnweb.freebsd.org/changeset/base/330399

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

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 Sun Mar  4 
19:07:10 2018        (r330398)
+++ head/sys/compat/linuxkpi/common/include/linux/moduleparam.h Sun Mar  4 
19:10:30 2018        (r330399)
@@ -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-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to