]> err.no Git - linux-2.6/blobdiff - include/linux/mutex.h
[PATCH] lockdep: avoid lockdep warning in md
[linux-2.6] / include / linux / mutex.h
index b2b91c47756340ab9dd1a407490c962cafb4d03c..a7544afd7582cff85c1aa374f6073cb99a331f6e 100644 (file)
@@ -125,8 +125,10 @@ extern int fastcall mutex_lock_interruptible(struct mutex *lock);
 
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
 extern void mutex_lock_nested(struct mutex *lock, unsigned int subclass);
+extern int mutex_lock_interruptible_nested(struct mutex *lock, unsigned int subclass);
 #else
 # define mutex_lock_nested(lock, subclass) mutex_lock(lock)
+# define mutex_lock_interruptible_nested(lock, subclass) mutex_lock_interruptible(lock)
 #endif
 
 /*