diff options
| author | Paul Mundt <[email protected]> | 2008-07-04 09:59:36 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-07-04 10:40:05 -0700 |
| commit | da9eac8990dc614ab4756f2a3d84870b675f1f1e (patch) | |
| tree | 6b2361df995b9e895fec50f9e8f9c00190a53754 /scripts/stackusage | |
| parent | c4a2d7fbec3029c8891a3ad5fceec2992096a3b7 (diff) | |
lib: taint kernel in common report_bug() WARN path.
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 <[email protected]>
Signed-off-by: Paul Mundt <[email protected]>
Acked-by: Kyle McMartin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions