Commit graph android_kernel_sony_sdm845/arch/parisc/include/asm/bug.h
Message SHA1
[PARISC] fix missing TAINT_WARN problem
Al viro broke us with

commit edd63a2763
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>

James Bottomley   commited 2012-06-05 14:10:17 +09:00
f1ea8b66e5
panic: Allow warnings to set different taint flags
WARN() is used in some places to report firmware or hardware bugs that
are then worked-around.  These bugs do not affect the stability of the
kernel and should not set the flag for TAINT_WARN.  To allow for this,
add WARN_TAINT() and WARN_TAINT_ONCE() macros that take a taint number
as argument.

Architectures that implement warnings using trap instructions instead
of calls to warn_slowpath_*() now implement __WARN_TAINT(taint)
instead of __WARN().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Helge Deller <deller@gmx.de>
Tested-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

Ben Hutchings   authored and   David Woodhouse   commited 2010-05-19 08:36:48 +01:00
b2be05273a
parisc: Convert BUG() to use unreachable()
Use the new unreachable() macro instead of for(;;);

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>

David Daney   authored and   Kyle McMartin   commited 2009-12-16 03:48:55 +00:00
05920797ca
parisc: move include/asm-parisc to arch/parisc/include/asm
Kyle McMartin   commited 2008-10-10 16:32:29 +00:00
deae26bf6a
Renamed from include/asm-parisc/bug.h (Browse further)