Re: when interrupt came, the kernel save pt_regs->eip always thesame?

From: Jiri Slaby
Date: Sun Dec 21 2008 - 15:11:41 EST


Sorry for the repost, following the thread now.
BTW. do not top-post.

On 12/14/2008 03:59 AM, pl ice wrote:
> And the prototype about irq_handler changed, the 3th parameter "struct
> pt_regs" removed,How do i get the struct pt_regs in my interrupt
> handler because kernel doesn't deliver to me?

get_irq_regs() should do that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/