]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sched.h
[PATCH] mutex subsystem, debugging code
[linux-2.6-omap-h63xx.git] / include / linux / sched.h
index 78eb92ae4d94b34240d457498ffb9c6dda6f34b6..85b53f87c7035ac7d6386b56db89c1abd0355559 100644 (file)
@@ -817,6 +817,11 @@ struct task_struct {
 /* Protection of proc_dentry: nesting proc_lock, dcache_lock, write_lock_irq(&tasklist_lock); */
        spinlock_t proc_lock;
 
+#ifdef CONFIG_DEBUG_MUTEXES
+       /* mutex deadlock detection */
+       struct mutex_waiter *blocked_on;
+#endif
+
 /* journalling filesystem info */
        void *journal_info;