]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/x86/kernel/process_32.c
x86: pull bp calculation earlier into the backtrace path
[linux-2.6-omap-h63xx.git] / arch / x86 / kernel / process_32.c
index 35a6f318c5417eabc937092970c32f7e470a1bf4..7a61b54649de4e183d2bc9e5e059d51b559bed26 100644 (file)
@@ -379,7 +379,7 @@ void __show_registers(struct pt_regs *regs, int all)
 void show_regs(struct pt_regs *regs)
 {
        __show_registers(regs, 1);
-       show_trace(NULL, regs, &regs->sp);
+       show_trace(NULL, regs, &regs->sp, regs->bp);
 }
 
 /*