Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2018 16:31:54 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r330863 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201803131631.w2DGVssv009650@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <johalun0@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_ */



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