Re: Taint kernel after WARN_ON(condition) v2

2008-02-13 Thread Haavard Skinnemoen
On Wed, 13 Feb 2008 22:27:40 +0800 Nur Hussein <[EMAIL PROTECTED]> wrote: > This does not work on architectures where WARN_ON has its own definition. > These archs are: > 1. s390 > 2. superh > 3. avr32 > 4. parisc Hmm. Relying on the generic code in lib/bug.c qualifies as

Taint kernel after WARN_ON(condition) v2

2008-02-13 Thread Nur Hussein
Here's an improved version of the patch I sent previously, taking into account the comments given. The kernel is sent to tainted within the warn_on_slowpath() function, and whenever a warning occurs the new taint flag 'W' is set. This is useful to know if a warning occurred before a BUG by preserv