Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2018 10:24:08 +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: r329959 - stable/11/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201802251024.w1PAO8dB012831@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Sun Feb 25 10:24:08 2018
New Revision: 329959
URL: https://svnweb.freebsd.org/changeset/base/329959

Log:
  MFC r329466:
  Add support for __percpu and __weak macros in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0@gmail.com>
  Sponsored by:	Mellanox Technologies

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

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h	Sun Feb 25 10:23:23 2018	(r329958)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/compiler.h	Sun Feb 25 10:24:08 2018	(r329959)
@@ -56,6 +56,8 @@
 #define	__devexit
 #define __exit
 #define	__rcu
+#define	__percpu
+#define	__weak __weak_symbol
 #define	__malloc
 #define	___stringify(...)		#__VA_ARGS__
 #define	__stringify(...)		___stringify(__VA_ARGS__)



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