Trivial fix for show_stack() to make 2.5.73 build.
Gerd
--- o-linux-2.5.73/arch/x86_64/kernel/traps.c.stack 2003-06-24 12:04:20.000000000 +0200
+++ o-linux-2.5.73/arch/x86_64/kernel/traps.c 2003-06-24 12:16:06.000000000 +0200
@@ -206,7 +206,7 @@
show_trace((unsigned long *)rsp);
}
-void show_stack(unsigned long * rsp)
+void show_stack(struct task_struct *task, unsigned long *rsp)
{
unsigned long *stack;
int i;
@@ -269,7 +269,7 @@
if (in_kernel) {
printk("Stack: ");
- show_stack((unsigned long*)rsp);
+ show_stack(current, (unsigned long*)rsp);
printk("\nCode: ");
if(regs->rip < PAGE_OFFSET)
--- o-linux-2.5.73/include/asm-x86_64/proto.h.stack 2003-06-24 12:03:24.000000000 +0200
+++ o-linux-2.5.73/include/asm-x86_64/proto.h 2003-06-24 12:16:30.000000000 +0200
@@ -52,7 +52,10 @@
extern unsigned long cpu_initialized;
+#if 0
+// prototype moved to linux/sched.h ...
extern void show_stack(unsigned long * rsp);
+#endif
extern void show_trace(unsigned long * rsp);
extern void show_registers(struct pt_regs *regs);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/