svn commit: r329512 - head/sys/compat/linuxkpi/common/include/linux

Hans Petter Selasky hselasky at FreeBSD.org
Sun Feb 18 08:47:16 UTC 2018


Author: hselasky
Date: Sun Feb 18 08:47:15 2018
New Revision: 329512
URL: https://svnweb.freebsd.org/changeset/base/329512

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

Modified:
  head/sys/compat/linuxkpi/common/include/linux/list.h

Modified: head/sys/compat/linuxkpi/common/include/linux/list.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/list.h	Sun Feb 18 08:40:07 2018	(r329511)
+++ head/sys/compat/linuxkpi/common/include/linux/list.h	Sun Feb 18 08:47:15 2018	(r329512)
@@ -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