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
This commit is contained in:
Emmanuel Vadot 2020-08-04 14:45:22 +00:00
parent 7237a74f3b
commit 2d946b2e12

View File

@ -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: