git: d9f1cb6774f1 - main - linuxkpi: Define `DEFINE_WD_CLASS(name)` in <linux/ww_mutex.h>

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 22:15:07 UTC
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)