Re: [PATCH 1/23] Make register values available to panic notifiers

From: David Howells
Date: Mon Apr 12 2010 - 08:20:29 EST


Heiko Carstens <heiko.carstens@xxxxxxxxxx> wrote:

> Wouldn't it be much easier to implement panic with an illegal op and let
> the exception handler set up the pt regs structure instead? Just like some
> architectures do that already for warnings.

No, not necessarily. panic() is varargs.

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