lkml.org 
[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 22 Feb 2004 21:34:38 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] arch-specific callout in panic()
Mike Strosaker <strosake@austin.ibm.com> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:01    [from the cache]
©2003-2008