Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Mar 2018 18:21:21 +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: r330393 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201803041821.w24ILLno090156@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sun Mar  4 18:21:21 2018
New Revision: 330393
URL: https://svnweb.freebsd.org/changeset/base/330393

Log:
  Implement __MODULE_STRING() function macro 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/module.h

Modified: head/sys/compat/linuxkpi/common/include/linux/module.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/module.h	Sun Mar  4 18:19:44 2018	(r330392)
+++ head/sys/compat/linuxkpi/common/include/linux/module.h	Sun Mar  4 18:21:21 2018	(r330393)
@@ -53,6 +53,7 @@
 
 #define	EXPORT_SYMBOL(name)
 #define	EXPORT_SYMBOL_GPL(name)
+#define	__MODULE_STRING(x) __stringify(x)
 
 /* OFED pre-module initialization */
 #define	SI_SUB_OFED_PREINIT	(SI_SUB_ROOT_CONF - 2)



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