]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/mutex.h
[PATCH] libata-hp-prep: make some ata_device fields persistent
[linux-2.6-omap-h63xx.git] / include / linux / mutex.h
index 9bce0fee68d43d8f56e2a40b84203e0fb93c73e1..f1ac507fa20da323800bf32393a0c77c5ad64dde 100644 (file)
@@ -12,6 +12,7 @@
 
 #include <linux/list.h>
 #include <linux/spinlock_types.h>
+#include <linux/linkage.h>
 
 #include <asm/atomic.h>
 
@@ -78,7 +79,7 @@ struct mutex_waiter {
 # define mutex_debug_show_all_locks()                  do { } while (0)
 # define mutex_debug_show_held_locks(p)                        do { } while (0)
 # define mutex_debug_check_no_locks_held(task)         do { } while (0)
-# define mutex_debug_check_no_locks_freed(from, to)    do { } while (0)
+# define mutex_debug_check_no_locks_freed(from, len)   do { } while (0)
 #endif
 
 #define __MUTEX_INITIALIZER(lockname) \