debug: introduce __WARN()
authorOlof Johansson <olof@lixom.net>
Wed, 30 Jan 2008 12:32:50 +0000 (13:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:32:50 +0000 (13:32 +0100)
commit3a6a62f96f168d192fb0cc9c0b5ee2584740b32d
tree8817fb64361a30604a8fcb8663326261a755ac59
parentf315decbd05fefbca09bd492ae54eaa334ba826b
debug: introduce __WARN()

Introduce __WARN() in the generic case, so the generic WARN_ON()
can use arch-specific code for when the condition is true.

Signed-off-by: Olof Johansson <olof@lixom.net>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-generic/bug.h