[PATCH][2.4.22-pre3] fix x86-64 show_regs() loop

Mikael Pettersson (mikpe@csd.uu.se)
Mon, 7 Jul 2003 00:39:40 +0200 (MEST)


show_regs() should call __show_regs() not itself.

/Mikael

--- linux-2.4.22-pre3/arch/x86_64/kernel/process.c.~1~ 2003-07-06 18:37:43.000000000 +0200
+++ linux-2.4.22-pre3/arch/x86_64/kernel/process.c 2003-07-06 19:21:07.000000000 +0200
@@ -366,7 +366,7 @@

void show_regs(struct pt_regs * regs)
{
- show_regs(regs);
+ __show_regs(regs);
show_trace(&regs->rsp);
}

-
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/