[lkml]   [1999]   [Oct]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: a small doubt
    On Fri, 8 Oct 1999 09:18:36 -0500 , 
    Bret Indrelee <> wrote:
    >Oliver Xymoron [] wrote:
    >> Why don't we simply use an OOPS() macro that causes an oops in an
    >> arch-specific way? And throw this in a generic place:
    >What is wrong with just using the existing panic() from kernel.h?
    >If there is information that panic() doesn't save which you would get with
    >an OOPS message, then that is a problem with panic.

    panic() is just a general message formatter, like printk() but with a
    few more side effects ;). Causing an oops gets the registers and, more
    to the point, gets them at the point of failure. Registers after you
    have called another routine are much less useful.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:54    [W:0.018 / U:14.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site