Report that kernel is tainted if there was an OOPS
authorPavel Emelianov <xemul@openvz.org>
Tue, 17 Jul 2007 11:03:42 +0000 (04:03 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:02 +0000 (10:23 -0700)
commitbcdcd8e725b923ad7c0de809680d5d5658a7bf8c
treef8fe86531df3bd96c0d8fd2d7a8fb1a6639261db
parent74489a91dd43aecd638709d34a2f58b91cfda5cf
Report that kernel is tainted if there was an OOPS

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.

Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
[ Added parisc patch from Matthew Wilson  -Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
21 files changed:
Documentation/oops-tracing.txt
arch/alpha/kernel/traps.c
arch/arm/kernel/traps.c
arch/arm26/kernel/traps.c
arch/avr32/kernel/traps.c
arch/i386/kernel/traps.c
arch/ia64/kernel/traps.c
arch/m68k/kernel/traps.c
arch/m68knommu/kernel/traps.c
arch/mips/kernel/traps.c
arch/parisc/kernel/traps.c
arch/powerpc/kernel/traps.c
arch/ppc/kernel/traps.c
arch/s390/kernel/traps.c
arch/sh/kernel/traps.c
arch/sparc/kernel/traps.c
arch/sparc64/kernel/traps.c
arch/x86_64/kernel/traps.c
arch/xtensa/kernel/traps.c
include/linux/kernel.h
kernel/panic.c