svn commit: r329968 - stable/11/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Sun Feb 25 10:32:27 UTC 2018


Author: hselasky
Date: Sun Feb 25 10:32:26 2018
New Revision: 329968
URL: https://svnweb.freebsd.org/changeset/base/329968

Log:
  MFC r329512:
  Implement __list_del_entry() helper functions in the LinuxKPI.
  
  Submitted by:	Johannes Lundberg <johalun0 at gmail.com>
  Sponsored by:	Mellanox Technologies
  Sponsored by:	Limelight Networks

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

Modified: stable/11/sys/compat/linuxkpi/common/include/linux/list.h
==============================================================================
--- stable/11/sys/compat/linuxkpi/common/include/linux/list.h	Sun Feb 25 10:31:27 2018	(r329967)
+++ stable/11/sys/compat/linuxkpi/common/include/linux/list.h	Sun Feb 25 10:32:26 2018	(r329968)
@@ -117,6 +117,13 @@ __list_del(struct list_head *prev, struct list_head *n
 }
 
 static inline void
+__list_del_entry(struct list_head *entry)
+{
+
+	__list_del(entry->prev, entry->next);
+}
+
+static inline void
 list_del(struct list_head *entry)
 {
 


More information about the svn-src-all mailing list