Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:55:56 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3e9a3a64aa69 - stable/13 - linuxkpi: Define `DEFINE_WD_CLASS(name)` in <linux/ww_mutex.h>
Message-ID:  <202302161155.31GBtutt055340@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=3e9a3a64aa698f90fca4206bb26cae6456522f68

commit 3e9a3a64aa698f90fca4206bb26cae6456522f68
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-20 17:19:01 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-02-16 11:55:14 +0000

    linuxkpi: Define `DEFINE_WD_CLASS(name)` in <linux/ww_mutex.h>
    
    It is defined as a synonymous to `DEFINE_WW_CLASS(name)`.
    
    Reviewed by:    manu
    Approved by:    manu
    Differential Revision:  https://reviews.freebsd.org/D38151
    
    (cherry picked from commit d9f1cb6774f1785544c2fbeba476d4842967e804)
---
 sys/compat/linuxkpi/common/include/linux/ww_mutex.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/ww_mutex.h b/sys/compat/linuxkpi/common/include/linux/ww_mutex.h
index 82ba7a55a7e8..d0dd7cd52601 100644
--- a/sys/compat/linuxkpi/common/include/linux/ww_mutex.h
+++ b/sys/compat/linuxkpi/common/include/linux/ww_mutex.h
@@ -61,6 +61,8 @@ struct ww_mutex {
 	}								\
 	SYSINIT(name, SI_SUB_LOCK, SI_ORDER_SECOND, name##_init, NULL)
 
+#define	DEFINE_WD_CLASS(name)	DEFINE_WW_CLASS(name)
+
 #define	ww_mutex_is_locked(_m) \
 	sx_xlocked(&(_m)->base.sx)
 



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