Re: wait_on_irq, CPU1

Andrea Arcangeli (andrea@suse.de)
Wed, 29 Dec 1999 16:38:06 +0100 (CET)


On Wed, 29 Dec 1999, Andi Kleen wrote:

>Ok, seems the bug was just inherited from show_registers()...
>It should be probably corrected there too.

Yes. This is how I fixed it into the IKD patch:

static void show_registers(struct pt_regs *regs)
{
int i;
@@ -155,19 +212,27 @@
printk("\nStack: ");
stack = (unsigned long *) esp;
for(i=0; i < kstack_depth_to_print; i++) {
- if (((long) stack & 4095) == 0)
+ if (((long) stack & 8191) == 0)
break;
if (i && ((i % 8) == 0))
printk("\n ");
printk("%08lx ", *stack++);
}

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/