]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/support/debug.c
Merge branches 'release', 'dmi' and 'misc' into release
[linux-2.6-omap-h63xx.git] / fs / xfs / support / debug.c
index f45a49ffd3a34907f6b1ca2aceaea7dce40e2133..c27abef7b84f9498821dfb9704e21b15bb86e781 100644 (file)
@@ -17,7 +17,6 @@
  */
 #include <xfs.h>
 #include "debug.h"
-#include "spin.h"
 
 static char            message[1024];  /* keep it off the stack */
 static DEFINE_SPINLOCK(xfs_err_lock);
@@ -81,3 +80,9 @@ assfail(char *expr, char *file, int line)
        printk("Assertion failed: %s, file: %s, line: %d\n", expr, file, line);
        BUG();
 }
+
+void
+xfs_hex_dump(void *p, int length)
+{
+       print_hex_dump(KERN_ALERT, "", DUMP_PREFIX_OFFSET, 16, 1, p, length, 1);
+}