Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197890
b: refs/heads/master
c: 92946bc
h: refs/heads/master
v: v3
  • Loading branch information
Ben Hutchings authored and David Woodhouse committed May 19, 2010
1 parent eefe027 commit 28afe7d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b2be05273a1744d175bf4b67f6665637bb9ac7a8
refs/heads/master: 92946bc72f2e74c3281b7fc12be9704d455fb3ed
3 changes: 3 additions & 0 deletions trunk/Documentation/oops-tracing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ characters, each representing a particular tainted value.

11: 'C' if a staging driver has been loaded.

12: 'I' if the kernel is working around a severe bug in the platform
firmware (BIOS or similar).

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
Expand Down
1 change: 1 addition & 0 deletions trunk/include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ extern enum system_states {
#define TAINT_OVERRIDDEN_ACPI_TABLE 8
#define TAINT_WARN 9
#define TAINT_CRAP 10
#define TAINT_FIRMWARE_WORKAROUND 11

extern void dump_stack(void) __cold;

Expand Down
2 changes: 2 additions & 0 deletions trunk/kernel/panic.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ static const struct tnt tnts[] = {
{ TAINT_OVERRIDDEN_ACPI_TABLE, 'A', ' ' },
{ TAINT_WARN, 'W', ' ' },
{ TAINT_CRAP, 'C', ' ' },
{ TAINT_FIRMWARE_WORKAROUND, 'I', ' ' },
};

/**
Expand All @@ -194,6 +195,7 @@ static const struct tnt tnts[] = {
* 'A' - ACPI table overridden.
* 'W' - Taint on warning.
* 'C' - modules from drivers/staging are loaded.
* 'I' - Working around severe firmware bug.
*
* The string is overwritten by the next call to print_tainted().
*/
Expand Down

0 comments on commit 28afe7d

Please sign in to comment.