]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/lockdep.h
UBUNTU: SAUCE: Import aufs driver
[mirror_ubuntu-bionic-kernel.git] / include / linux / lockdep.h
index 3251d9c0d3137ee594a8727f4f817bdb2e2d2350..036095249792419dc959a41cc21c93eb5972d5ba 100644 (file)
@@ -313,6 +313,8 @@ static inline int lockdep_match_key(struct lockdep_map *lock,
        return lock->key == key;
 }
 
+struct lock_class *lockdep_hlock_class(struct held_lock *hlock);
+
 /*
  * Acquire a lock.
  *
@@ -442,6 +444,7 @@ struct lockdep_map { };
 
 #define lockdep_depth(tsk)     (0)
 
+#define lockdep_is_held(lock)                  (1)
 #define lockdep_is_held_type(l, r)             (1)
 
 #define lockdep_assert_held(l)                 do { (void)(l); } while (0)