[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-parisc
Subject:    Re: [PATCH] fix unwind crash - was: Re: 2.6.26 kernel crash
From:       "Carlos O'Donell" <carlos () systemhalted ! org>
Date:       2008-08-08 12:56:46
Message-ID: 119aab440808080556m3d0a7484r83b78fa8b2d08ec0 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Aug 6, 2008 at 3:41 PM, Kyle McMartin <kyle@mcmartin.ca> wrote:
> -       parisc_show_stack(current, NULL, regs);
> +       if (!user)
> +               parisc_show_stack(current, NULL, regs);

or

if (level == KERN_CRIT)
  parisc_show_stack (current, NULL, regs);

I think this bit of code is the only thing that is required e.g. Only
call parisc_show_stack if it's not a usermode set of registers?

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic