Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6.git] / arch / x86 / kernel / process.c
index c9b3522b6b46bd120fdb296906b035bcfa0c9ec6..02d678065d7d1f8a9d43a7c6efd58b5e83c61604 100644 (file)
@@ -92,6 +92,13 @@ void exit_thread(void)
        }
 }
 
+void show_regs(struct pt_regs *regs)
+{
+       show_registers(regs);
+       show_trace(NULL, regs, (unsigned long *)kernel_stack_pointer(regs),
+                  regs->bp);
+}
+
 void show_regs_common(void)
 {
        const char *board, *product;