lkml.org 
[lkml]   [2008]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 <jonas.bonn@gmail.com>
> ---
> 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 <srostedt@redhat.com>

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



\
 
 \ /
  Last update: 2008-10-26 00:15    [W:0.028 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site