Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Mar 2018 08:59:54 +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: r330274 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201803020859.w228xsGF054080@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Mar  2 08:59:53 2018
New Revision: 330274
URL: https://svnweb.freebsd.org/changeset/base/330274

Log:
  Implement more lockdep stubs 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/lockdep.h

Modified: head/sys/compat/linuxkpi/common/include/linux/lockdep.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/lockdep.h	Fri Mar  2 08:58:32 2018	(r330273)
+++ head/sys/compat/linuxkpi/common/include/linux/lockdep.h	Fri Mar  2 08:59:53 2018	(r330274)
@@ -36,8 +36,9 @@ struct lock_class_key {
 };
 
 #define	lockdep_set_class(lock, key)
-
 #define	lockdep_set_class_and_name(lock, key, name)
+#define	lockdep_set_current_reclaim_state(g) do { } while (0)
+#define	lockdep_clear_current_reclaim_state() do { } while (0)
 
 #define	lockdep_assert_held(m)				\
 	sx_assert(&(m)->sx, SA_XLOCKED)



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