From: Ben Hutchings Date: Sat, 3 Apr 2010 18:34:56 +0000 (+0100) Subject: panic: Allow warnings to set different taint flags X-Git-Tag: v2.6.35-rc1~434^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2be05273a1744d175bf4b67f6665637bb9ac7a8;p=pandora-kernel.git panic: Allow warnings to set different taint flags WARN() is used in some places to report firmware or hardware bugs that are then worked-around. These bugs do not affect the stability of the kernel and should not set the flag for TAINT_WARN. To allow for this, add WARN_TAINT() and WARN_TAINT_ONCE() macros that take a taint number as argument. Architectures that implement warnings using trap instructions instead of calls to warn_slowpath_*() now implement __WARN_TAINT(taint) instead of __WARN(). Signed-off-by: Ben Hutchings Acked-by: Helge Deller Tested-by: Paul Mundt Signed-off-by: David Woodhouse --- Reading git-diff-tree failed