]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit3777808873b0c49c5cf27e44c948dfb02675d578
tree62259c039e7c2233d8af72350edb971cbe2ae86f
parent3a9485da969c1c23400430470db17c819ef51d7b
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 <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