panic: add TAINT_SOFTLOCKUP
authorJosh Hunt <johunt@akamai.com>
Fri, 8 Aug 2014 21:22:31 +0000 (14:22 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Aug 2014 22:57:24 +0000 (15:57 -0700)
commit69361eef9056b0babb507798c2135ad1572f0ef7
tree59a63cc2f670926a7b9394533bbc9d3e379fc258
parent1da85fdff55da539fbe9c270689a7bcedead1cdd
panic: add TAINT_SOFTLOCKUP

This taint flag will be set if the system has ever entered a softlockup
state.  Similar to TAINT_WARN it is useful to know whether or not the
system has been in a softlockup state when debugging.

[akpm@linux-foundation.org: apply the taint before calling panic()]
Signed-off-by: Josh Hunt <johunt@akamai.com>
Cc: Jason Baron <jbaron@akamai.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/oops-tracing.txt
Documentation/sysctl/kernel.txt
include/linux/kernel.h
kernel/panic.c
kernel/watchdog.c