Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

+2
+2
arch/parisc/include/asm/bug.h
··· 1 1 #ifndef _PARISC_BUG_H 2 2 #define _PARISC_BUG_H 3 3 4 + #include <linux/kernel.h> /* for BUGFLAG_TAINT */ 5 + 4 6 /* 5 7 * Tell the user there is some problem. 6 8 * The offending file and line are encoded in the __bug_table section.