Revision da9eac8990dc614ab4756f2a3d84870b675f1f1e authored by Paul Mundt on 04 July 2008, 16:59:36 UTC, committed by Linus Torvalds on 04 July 2008, 17:40:05 UTC
Commit 95b570c9cef3b12356454c7112571b7e406b4b51 ("Taint kernel after
WARN_ON(condition)") introduced a TAINT_WARN that was implemented for
all architectures using the generic warn_on_slowpath(), which excluded
any architecture that set HAVE_ARCH_WARN_ON.

As all of the architectures that implement their own WARN_ON() all go
through the report_bug() path (specifically handling BUG_TRAP_TYPE_WARN),
taint the kernel there as well for consistency.

Tested on avr32 and sh. Also relevant for s390, parisc, and powerpc.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent c4a2d7f
History
File Mode Size
Makefile -rw-r--r-- 260 bytes
bfind.c -rw-r--r-- 4.4 KB
bitmap.c -rw-r--r-- 4.7 KB
bnode.c -rw-r--r-- 15.1 KB
brec.c -rw-r--r-- 12.8 KB
btree.c -rw-r--r-- 7.8 KB
catalog.c -rw-r--r-- 10.4 KB
dir.c -rw-r--r-- 12.0 KB
extents.c -rw-r--r-- 13.7 KB
hfsplus_fs.h -rw-r--r-- 12.4 KB
hfsplus_raw.h -rw-r--r-- 7.3 KB
inode.c -rw-r--r-- 15.9 KB
ioctl.c -rw-r--r-- 5.0 KB
options.c -rw-r--r-- 4.4 KB
part_tbl.c -rw-r--r-- 3.6 KB
super.c -rw-r--r-- 15.0 KB
tables.c -rw-r--r-- 119.1 KB
unicode.c -rw-r--r-- 8.9 KB
wrapper.c -rw-r--r-- 4.7 KB

back to top