Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2023 22:15:07 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-main@FreeBSD.org
Subject:   git: d9f1cb6774f1 - main - linuxkpi: Define `DEFINE_WD_CLASS(name)` in <linux/ww_mutex.h>
Message-ID:  <202301252215.30PMF7hw064292@gitrepo.freebsd.org>

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

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

commit d9f1cb6774f1785544c2fbeba476d4842967e804
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-01-25 21:50:27 +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
---
 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?202301252215.30PMF7hw064292>