From: Paul Mundt Date: Mon, 11 Jun 2012 05:29:58 +0000 (+0900) Subject: bug.h: need linux/kernel.h for TAINT_WARN. X-Git-Tag: v3.5-rc3~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3777808873b0c49c5cf27e44c948dfb02675d578;p=pandora-kernel.git bug.h: need linux/kernel.h for TAINT_WARN. asm-generic/bug.h uses taint flags that are only defined in linux/kernel.h, resulting in build failures on platforms that don't include linux/kernel.h some other way: arch/sh/include/asm/thread_info.h:172:2: error: 'TAINT_WARN' undeclared (first use in this function) Caused by commit edd63a2763bd ("set_restore_sigmask() is never called without SIGPENDING (and never should be)"). Reported-by: Stephen Rothwell Cc: Al Viro Signed-off-by: Paul Mundt --- Reading git-diff-tree failed