summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Bonn <jonas.bonn@gmail.com>2008-10-25 11:49:20 +0200
committerIngo Molnar <mingo@elte.hu>2008-10-27 11:39:03 +0100
commit5209f08dc8e5f520ca81b87fa9a7142f58a109f4 (patch)
tree744c8a417cfd530c1a1244f3a8f2ab09c018828b
parenttrace: fix printk warning for u64 (diff)
downloadlinux-5209f08dc8e5f520ca81b87fa9a7142f58a109f4.tar.xz
linux-5209f08dc8e5f520ca81b87fa9a7142f58a109f4.zip
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>
-rw-r--r--include/asm-generic/kdebug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-generic/kdebug.h b/include/asm-generic/kdebug.h
index 2b799c90b2d4..11e57b6a85fc 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 */