[PATCH] introduce WARN_ON_ONCE(cond)
authorIngo Molnar <mingo@elte.hu>
Sun, 25 Jun 2006 12:48:09 +0000 (05:48 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:11 +0000 (10:01 -0700)
commit74bb6a09b2e1e69d91eb6069eb4a7f0c06b84812
treef55af6ec05bd7f547abf4cf9384e94570076d8c3
parent69755652c92106855b4b096b7c2935b59e6252c6
[PATCH] introduce WARN_ON_ONCE(cond)

Add WARN_ON_ONCE(cond) to print once-per-bootup messages.

[rostedt@goodmis.org: improve code generation]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-generic/bug.h