linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Steven Rostedt <srostedt@redhat.com>
Cc: Jonas Bonn <jonas.bonn@gmail.com>, LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH] asm-generic: define DIE_OOPS in asm-generic
Date: Mon, 27 Oct 2008 11:40:26 +0100	[thread overview]
Message-ID: <20081027104026.GL8116@elte.hu> (raw)
In-Reply-To: <4903621B.9040101@redhat.com>


* Steven Rostedt <srostedt@redhat.com> 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 <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

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 <jonas.bonn@gmail.com>
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 <jonas.bonn@gmail.com>
Acked-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
 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 */

      reply	other threads:[~2008-10-27 10:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1224928160-19147-1-git-send-email-jonas.bonn@gmail.com>
2008-10-25 18:14 ` [PATCH] Define DIE_OOPS in asm-generic Steven Rostedt
2008-10-27 10:40   ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081027104026.GL8116@elte.hu \
    --to=mingo@elte.hu \
    --cc=jonas.bonn@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srostedt@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).