Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 19:10:30 +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: r330399 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201803041910.w24JAUV7012965@repo.freebsd.org>

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



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