Date: Sun, 25 Feb 2018 10:32:26 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r329968 - stable/11/sys/compat/linuxkpi/common/include/linux Message-ID: <201802251032.w1PAWQMe017958@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802251032.w1PAWQMe017958>