]> git.baikalelectronics.ru Git - kernel.git/commit
bug.h: need linux/kernel.h for TAINT_WARN.
authorPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jun 2012 05:29:58 +0000 (14:29 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jun 2012 05:29:58 +0000 (14:29 +0900)
commitaec5909c002e26a73b0c0b75c617c0b85edd371f
tree62259c039e7c2233d8af72350edb971cbe2ae86f
parent2ab0a063928737a38c2d2f04d91ed40aa983bc00
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 363466507844 ("set_restore_sigmask() is never called
without SIGPENDING (and never should be)").

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-generic/bug.h