summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2012-06-03 01:49:32 -0700
committerJames Bottomley <JBottomley@Parallels.com>2012-06-05 14:10:17 +0900
commitf1ea8b66e5bf85802ae59961981f5e0d61510b18 (patch)
tree7b0211a77a88ee227d7168ede1b46ead4187ecbc /arch
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f (diff)
downloadlinux-3.10-f1ea8b66e5bf85802ae59961981f5e0d61510b18.tar.gz
linux-3.10-f1ea8b66e5bf85802ae59961981f5e0d61510b18.tar.bz2
linux-3.10-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')
-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 72cfdb0cfdd..62a33338549 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.