[kernel] r14203 - dists/trunk/linux-2.6/debian/templates/image.plain.bug
Bastian Blank
waldi at alioth.debian.org
Wed Sep 2 09:42:36 UTC 2009
Author: waldi
Date: Wed Sep 2 09:42:35 2009
New Revision: 14203
Log:
debian/templates/image.plain.bug/include-1tainted: Add TAINT_CRAP.
Modified:
dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted
Modified: dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted
==============================================================================
--- dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted Wed Sep 2 09:39:20 2009 (r14202)
+++ dists/trunk/linux-2.6/debian/templates/image.plain.bug/include-1tainted Wed Sep 2 09:42:35 2009 (r14203)
@@ -8,6 +8,7 @@
TAINT_DIE=7
TAINT_OVERRIDDEN_ACPI_TABLE=8
TAINT_WARN=9
+TAINT_CRAP=10
add_1tainted() {
tainted=$(cat /proc/sys/kernel/tainted)
@@ -23,6 +24,7 @@
[ $(($tainted & 1<<$TAINT_DIE)) -ne 0 ] && s="${s}D"
[ $(($tainted & 1<<$TAINT_OVERRIDDEN_ACPI_TABLE)) -ne 0 ] && s="${s}A"
[ $(($tainted & 1<<$TAINT_WARN)) -ne 0 ] && s="${s}W"
+ [ $(($tainted & 1<<$TAINT_CRAP)) -ne 0 ] && s="${s}C"
echo '** Tainted:' $s "($tainted)" >&3
echo >&3
else
More information about the Kernel-svn-changes
mailing list