Re: [PATCH] Define DIE_OOPS in asm-generic - Kernel

This is a discussion on Re: [PATCH] Define DIE_OOPS in asm-generic - Kernel ; Jonas Bonn wrote: > DIE_OOPS is now used in the generic trace handling code so it needs to > be defined for all architectures. Define it in asm-generic so that it's > available to all by default and doesn't cause ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Re: [PATCH] Define DIE_OOPS in asm-generic

  1. Re: [PATCH] Define DIE_OOPS in asm-generic

    Jonas Bonn wrote:
    > DIE_OOPS is now used in the generic trace handling code so it needs to
    > be defined for all architectures. Define it in asm-generic so that it's
    > available to all by default and doesn't cause build errors for
    > architectures that rely on the generic implementation.
    >
    > Signed-off-by: Jonas Bonn
    > ---
    > include/asm-generic/kdebug.h | 1 +
    > 1 files changed, 1 insertions(+), 0 deletions(-)
    >


    This will obsolete my other patch. (the one making the nmi handler weak)

    Acked-by: Steven Rostedt

    -- Steve

    > diff --git a/include/asm-generic/kdebug.h b/include/asm-generic/kdebug.h
    > index 2b799c9..11e57b6 100644
    > --- a/include/asm-generic/kdebug.h
    > +++ b/include/asm-generic/kdebug.h
    > @@ -3,6 +3,7 @@
    >
    > enum die_val {
    > DIE_UNUSED,
    > + DIE_OOPS=1
    > };
    >
    > #endif /* _ASM_GENERIC_KDEBUG_H */
    >


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

  2. [PATCH] asm-generic: define DIE_OOPS in asm-generic


    * Steven Rostedt wrote:

    > Jonas Bonn wrote:
    >> DIE_OOPS is now used in the generic trace handling code so it needs to
    >> be defined for all architectures. Define it in asm-generic so that it's
    >> available to all by default and doesn't cause build errors for
    >> architectures that rely on the generic implementation.
    >>
    >> Signed-off-by: Jonas Bonn
    >> ---
    >> include/asm-generic/kdebug.h | 1 +
    >> 1 files changed, 1 insertions(+), 0 deletions(-)
    >>

    >
    > This will obsolete my other patch. (the one making the nmi handler weak)
    >
    > Acked-by: Steven Rostedt
    >
    > -- Steve


    ok - i've queued up the patch below in tip/tracing/urgent, thanks
    guys.

    Ingo

    From 5209f08dc8e5f520ca81b87fa9a7142f58a109f4 Mon Sep 17 00:00:00 2001
    From: Jonas Bonn
    Date: Sat, 25 Oct 2008 11:49:20 +0200
    Subject: [PATCH] asm-generic: define DIE_OOPS in asm-generic

    Impact: build fix

    DIE_OOPS is now used in the generic trace handling code so it needs to
    be defined for all architectures. Define it in asm-generic so that it's
    available to all by default and doesn't cause build errors for
    architectures that rely on the generic implementation.

    Signed-off-by: Jonas Bonn
    Acked-by: Steven Rostedt
    Signed-off-by: Ingo Molnar
    ---
    include/asm-generic/kdebug.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/include/asm-generic/kdebug.h b/include/asm-generic/kdebug.h
    index 2b799c9..11e57b6 100644
    --- a/include/asm-generic/kdebug.h
    +++ b/include/asm-generic/kdebug.h
    @@ -3,6 +3,7 @@

    enum die_val {
    DIE_UNUSED,
    + DIE_OOPS=1
    };

    #endif /* _ASM_GENERIC_KDEBUG_H */
    --
    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/

+ Reply to Thread