vfs: fix RCU-lockdep false positive due to /proc
[pandora-kernel.git] / include / linux / kdb.h
index 4d93790..ccb2b3e 100644 (file)
@@ -19,6 +19,7 @@
 #include <asm/atomic.h>
 
 #define KDB_POLL_FUNC_MAX      5
+extern int kdb_poll_idx;
 
 /*
  * kdb_initial_cpu is initialized to -1, and is set to the cpu
@@ -77,6 +78,9 @@ typedef enum {
        KDB_REASON_SSTEP,       /* Single Step trap. - regs valid */
 } kdb_reason_t;
 
+extern int kdb_trap_printk;
+extern int vkdb_printf(const char *fmt, va_list args)
+           __attribute__ ((format (printf, 1, 0)));
 extern int kdb_printf(const char *, ...)
            __attribute__ ((format (printf, 1, 2)));
 typedef int (*kdb_printf_t)(const char *, ...)