diff options
author | James Bottomley <JBottomley@Parallels.com> | 2012-06-03 01:49:32 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-06-05 14:10:17 +0900 |
commit | f1ea8b66e5bf85802ae59961981f5e0d61510b18 (patch) | |
tree | 7b0211a77a88ee227d7168ede1b46ead4187ecbc /arch | |
parent | f8f5701bdaf9134b1f90e5044a82c66324d2073f (diff) |
[PARISC] fix missing TAINT_WARN problem
Al viro broke us with
commit edd63a2763bdae0daa4f0a4d4c5d61d1154352a5
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Fri Apr 27 13:42:45 2012 -0400
set_restore_sigmask() is never called without SIGPENDING (and never should be)
Although it's pretty much our fault since parisc's asm/bug.h uses
BUGWARN_TAINT but doesn't include the file that defines it. Fix that.
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/parisc/include/asm/bug.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/bug.h b/arch/parisc/include/asm/bug.h index 72cfdb0cfdd1..62a33338549c 100644 --- a/arch/parisc/include/asm/bug.h +++ b/arch/parisc/include/asm/bug.h @@ -1,6 +1,8 @@ #ifndef _PARISC_BUG_H #define _PARISC_BUG_H +#include <linux/kernel.h> /* for BUGFLAG_TAINT */ + /* * Tell the user there is some problem. * The offending file and line are encoded in the __bug_table section. |