]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/lockdep.h
lockdep: spin_lock_nest_lock()
[linux-2.6-omap-h63xx.git] / include / linux / lockdep.h
index 93a8cc02a033cd36c4f1c92e66852a8e2e924bf8..4452c04a7f6e419ec6b0f887ec1770d5a7fbb24a 100644 (file)
@@ -410,8 +410,10 @@ static inline void print_irqtrace_events(struct task_struct *curr)
 #ifdef CONFIG_DEBUG_LOCK_ALLOC
 # ifdef CONFIG_PROVE_LOCKING
 #  define spin_acquire(l, s, t, i)             lock_acquire(l, s, t, 0, 2, NULL, i)
+#  define spin_acquire_nest(l, s, t, n, i)     lock_acquire(l, s, t, 0, 2, n, i)
 # else
 #  define spin_acquire(l, s, t, i)             lock_acquire(l, s, t, 0, 1, NULL, i)
+#  define spin_acquire_nest(l, s, t, n, i)     lock_acquire(l, s, t, 0, 1, NULL, i)
 # endif
 # define spin_release(l, n, i)                 lock_release(l, n, i)
 #else