Files
kernel-tenderloin-3.0/kernel/trace
Steven Rostedt 3e89c7bb92 ring-buffer: clean up warn ons
Impact: Restructure WARN_ONs in ring_buffer.c

The current WARN_ON macros in ring_buffer.c are quite ugly.

This patch cleans them up and uses a single RB_WARN_ON that returns
the value of the condition. This allows the caller to abort the
function if the condition is true.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-11-11 22:02:35 +01:00
..
2008-11-08 09:51:02 +01:00
2008-11-06 07:50:51 +01:00
2008-11-11 22:02:35 +01:00
2008-11-08 09:51:34 +01:00
2008-11-08 09:51:39 +01:00