Skip to contentSkip to conversation

Define DIE_OOPS in asm-generic

PATCH New Steven Rostedt 2 participants 2 messages Oct 25, 2008 – Oct 27, 2008 1 message not in the archive Generic include/asm header files

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Steven Rostedt

author Acked-by
#1 lore raw
Quoted 10 lines · Jonas Bonn

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.

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

-- Steve

Quoted 13 lines
include/asm-generic/kdebug.h +1 -0
index 2b799c9..11e57b6 100644
@@ -3,6 +3,7 @@
 
 enum die_val {
 	DIE_UNUSED,
+	DIE_OOPS=1
 };
 
 #endif /* _ASM_GENERIC_KDEBUG_H */
#2 lore raw

PATCH 1/1 asm-generic: define DIE_OOPS in asm-generic

Quoted 12 lines · Steven Rostedt
Quoted 10 lines · Jonas Bonn

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.

---
 include/asm-generic/kdebug.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Quoted 5 lines

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

-- Steve

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

Ingo

Quoted 1 line

From 5209f08dc8e5f520ca81b87fa9a7142f58a109f4 Mon Sep 17 00:00:00 2001

From: Jonas Bonn <[email protected]>
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.

---
 include/asm-generic/kdebug.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/asm-generic/kdebug.h +1 -0
index 2b799c9..11e57b6 100644
@@ -3,6 +3,7 @@
 
 enum die_val {
 	DIE_UNUSED,
+	DIE_OOPS=1
 };
 
 #endif /* _ASM_GENERIC_KDEBUG_H */