Commit 37778088 authored by Paul Mundt's avatar Paul Mundt

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 edd63a27 ("set_restore_sigmask() is never called
without SIGPENDING (and never should be)").
Reported-by: 's avatarStephen Rothwell <>
Cc: Al Viro <>
Signed-off-by: 's avatarPaul Mundt <>
parent 3a9485da
......@@ -2,6 +2,7 @@
#include <linux/compiler.h>
#include <linux/kernel.h>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment