Re: [PATCH] arch-specific callout in panic()
From: Andrew Morton
Date: Mon Feb 23 2004 - 00:35:29 EST
Mike Strosaker <strosake@xxxxxxxxxxxxxx> wrote:
>
> There are some ppc64-specific actions that should be taken upon a
> kernel panic. Rather than adding a new #ifdef in panic(), it seems to
> me that it would be worthwhile to add a single callout, and move the
> arch-specific code out to the arch subtrees. Does this seem reasonable,
> or should another #ifdef be added in panic() to perform the ppc64-
> specific actions?
We have the panic_notifier_list in there. Cannot you hook into 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/