svn commit: r363837 - head/sys/compat/linuxkpi/common/include/linux
Emmanuel Vadot
manu at FreeBSD.org
Tue Aug 4 14:45:23 UTC 2020
Author: manu
Date: Tue Aug 4 14:45:22 2020
New Revision: 363837
URL: https://svnweb.freebsd.org/changeset/base/363837
Log:
linuxkpi: Add nested variant of mutex_lock_interruptible
We don't do anything with the _nesteds variant so just call mutex_lock_interruptible
Sponsoredby: The FreeBSD Foundation
Reviewed by: hselasky
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25944
Modified:
head/sys/compat/linuxkpi/common/include/linux/mutex.h
Modified: head/sys/compat/linuxkpi/common/include/linux/mutex.h
==============================================================================
--- head/sys/compat/linuxkpi/common/include/linux/mutex.h Tue Aug 4 14:44:16 2020 (r363836)
+++ head/sys/compat/linuxkpi/common/include/linux/mutex.h Tue Aug 4 14:45:22 2020 (r363837)
@@ -67,6 +67,8 @@ typedef struct mutex {
linux_mutex_lock_interruptible(_m); \
})
+#define mutex_lock_interruptible_nested(m, c) mutex_lock_interruptible(m)
+
/*
* Reuse the interruptable method since the SX
* lock handles both signals and interrupts:
More information about the svn-src-all
mailing list