Re: wait_on_irq, CPU1

Manfred Spraul (manfreds@colorfullife.com)
Wed, 29 Dec 1999 17:22:51 +0100


Andrea Arcangeli wrote:
> 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
This fix is incomplete: a few lines later 4095 is used again.

--
	Manfred

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