asm-generic: define DIE_OOPS in asm-generic
authorJonas Bonn <jonas.bonn@gmail.com>
Sat, 25 Oct 2008 09:49:20 +0000 (11:49 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 27 Oct 2008 10:39:03 +0000 (11:39 +0100)
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

index 2b799c90b2d437a955b2e8ef259e640d3a0c0a8f..11e57b6a85fcd78e451e88a34a14d20c8c1cc04d 100644 (file)
@@ -3,6 +3,7 @@
 
 enum die_val {
        DIE_UNUSED,
+       DIE_OOPS=1
 };
 
 #endif /* _ASM_GENERIC_KDEBUG_H */