Report that kernel is tainted if there was an OOPS
[deliverable/linux.git] / arch / i386 / kernel / traps.c
index 90da0575fcff092a0a8cc9a1f561a3347c3c5bbf..18c1c285836d3a65bd5a03314094d01851b64ef2 100644 (file)
@@ -390,7 +390,7 @@ void die(const char * str, struct pt_regs * regs, long err)
                unsigned long esp;
                unsigned short ss;
 
-               report_bug(regs->eip);
+               report_bug(regs->eip, regs);
 
                printk(KERN_EMERG "%s: %04lx [#%d]\n", str, err & 0xffff, ++die_counter);
 #ifdef CONFIG_PREEMPT
@@ -433,6 +433,7 @@ void die(const char * str, struct pt_regs * regs, long err)
 
        bust_spinlocks(0);
        die.lock_owner = -1;
+       add_taint(TAINT_DIE);
        spin_unlock_irqrestore(&die.lock, flags);
 
        if (!regs)
This page took 0.024526 seconds and 5 git commands to generate.