mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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. [[email protected]: apply the taint before calling panic()] Signed-off-by: Josh Hunt <[email protected]> Cc: Jason Baron <[email protected]> Cc: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1da85fdff5
commit
69361eef90
5 changed files with 6 additions and 0 deletions
|
|
@ -268,6 +268,8 @@ characters, each representing a particular tainted value.
|
|||
14: 'E' if an unsigned module has been loaded in a kernel supporting
|
||||
module signature.
|
||||
|
||||
15: 'L' if a soft lockup has previously occurred on the system.
|
||||
|
||||
The primary reason for the 'Tainted: ' string is to tell kernel
|
||||
debuggers if this is a clean kernel or if anything unusual has
|
||||
occurred. Tainting is permanent: even if an offending module is
|
||||
|
|
|
|||
|
|
@ -826,6 +826,7 @@ can be ORed together:
|
|||
4096 - An out-of-tree module has been loaded.
|
||||
8192 - An unsigned module has been loaded in a kernel supporting module
|
||||
signature.
|
||||
16384 - A soft lockup has previously occurred on the system.
|
||||
|
||||
==============================================================
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue