summaryrefslogtreecommitdiffstats
path: root/arch/parisc
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2012-06-03 10:49:32 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-06-05 07:10:17 +0200
commitf1ea8b66e5bf85802ae59961981f5e0d61510b18 (patch)
tree7b0211a77a88ee227d7168ede1b46ead4187ecbc /arch/parisc
parentLinux 3.5-rc1 (diff)
downloadlinux-f1ea8b66e5bf85802ae59961981f5e0d61510b18.tar.xz
linux-f1ea8b66e5bf85802ae59961981f5e0d61510b18.zip
[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/parisc')
-rw-r--r--arch/parisc/include/asm/bug.h2
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.