Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Feb 2018 08:47:15 +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: r329512 - head/sys/compat/linuxkpi/common/include/linux
Message-ID:  <201802180847.w1I8lFqx012026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)
 {
 



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