On Tue, Jul 17, 2007 at 04:03:42AM -0700, [EMAIL PROTECTED] wrote:
> From: Pavel Emelianov <[EMAIL PROTECTED]>
>
> If the kernel OOPSed or BUGed then it probably should be considered as
> tainted. Thus, all subsequent OOPSes and SysRq dumps will report the
> tainted kernel. This saves a lot of time explaining oddities in the
> calltraces.
Any reason parisc is missing?
diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index c3ec9f1..07a4e7b 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -264,6 +264,7 @@ KERN_CRIT " || ||\n");
show_regs(regs);
dump_stack();
+ add_taint(TAINT_DIE);
if (in_interrupt())
panic("Fatal exception in interrupt");
--
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
-
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html