diff options
author | Len Brown <len.brown@intel.com> | 2008-02-07 04:01:53 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-07 04:01:53 -0500 |
commit | 81e242d0efafb319938d511b115088a5c4523c91 (patch) | |
tree | be22aa41db2288fd7999524d719f333c766a367f /kernel | |
parent | a733a5da97b238e3e3167d3d0aee8fe1e8d04e97 (diff) | |
parent | 04d94886b47b5133915021dcfb1108a8576f6ea7 (diff) |
Merge branches 'release' and 'dsdt-override' into release
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/panic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index d9e90cfe3298..24af9f8bac99 100644 --- a/kernel/panic.c +++ b/kernel/panic.c | |||
@@ -161,7 +161,7 @@ const char *print_tainted(void) | |||
161 | { | 161 | { |
162 | static char buf[20]; | 162 | static char buf[20]; |
163 | if (tainted) { | 163 | if (tainted) { |
164 | snprintf(buf, sizeof(buf), "Tainted: %c%c%c%c%c%c%c%c", | 164 | snprintf(buf, sizeof(buf), "Tainted: %c%c%c%c%c%c%c%c%c", |
165 | tainted & TAINT_PROPRIETARY_MODULE ? 'P' : 'G', | 165 | tainted & TAINT_PROPRIETARY_MODULE ? 'P' : 'G', |
166 | tainted & TAINT_FORCED_MODULE ? 'F' : ' ', | 166 | tainted & TAINT_FORCED_MODULE ? 'F' : ' ', |
167 | tainted & TAINT_UNSAFE_SMP ? 'S' : ' ', | 167 | tainted & TAINT_UNSAFE_SMP ? 'S' : ' ', |
@@ -169,7 +169,8 @@ const char *print_tainted(void) | |||
169 | tainted & TAINT_MACHINE_CHECK ? 'M' : ' ', | 169 | tainted & TAINT_MACHINE_CHECK ? 'M' : ' ', |
170 | tainted & TAINT_BAD_PAGE ? 'B' : ' ', | 170 | tainted & TAINT_BAD_PAGE ? 'B' : ' ', |
171 | tainted & TAINT_USER ? 'U' : ' ', | 171 | tainted & TAINT_USER ? 'U' : ' ', |
172 | tainted & TAINT_DIE ? 'D' : ' '); | 172 | tainted & TAINT_DIE ? 'D' : ' ', |
173 | tainted & TAINT_OVERRIDDEN_ACPI_TABLE ? 'A' : ' '); | ||
173 | } | 174 | } |
174 | else | 175 | else |
175 | snprintf(buf, sizeof(buf), "Not tainted"); | 176 | snprintf(buf, sizeof(buf), "Not tainted"); |