tools/liblockdep: explicitly declare lockdep API we call from liblockdep
[linux-2.6-block.git] / tools / lib / lockdep / uinclude / linux / lockdep.h
index c1552c28507e472159ebd3fecee88811e51ff263..c808c7d02d21c86732c2aab981ccebd0dad71aad 100644 (file)
@@ -6,7 +6,7 @@
 #include <string.h>
 #include <limits.h>
 #include <linux/utsname.h>
-
+#include <linux/compiler.h>
 
 #define MAX_LOCK_DEPTH 2000UL
 
@@ -54,5 +54,6 @@ static struct new_utsname *init_utsname(void)
 #define static_obj(x) 1
 
 #define debug_show_all_locks()
+extern void debug_check_no_locks_held(void);
 
 #endif