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 <johal...@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)
 {
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to