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-10-22 07:37:17 +02:00
2008-11-11 22:02:35 +01:00
2008-10-16 11:21:30 -07:00
2008-09-14 16:25:35 +02:00
2008-07-28 14:37:38 +02:00
2008-08-13 12:55:10 +02:00
2008-10-28 11:19:07 +01:00
2008-09-02 19:21:40 -07:00
2008-10-20 08:52:39 -07:00
2008-10-21 15:59:53 +02:00
2008-11-05 10:30:14 +01:00
2008-11-06 08:41:56 +01:00
2008-10-16 11:21:31 -07:00
2008-10-16 11:21:51 -07:00
2008-07-25 10:53:45 -07:00
2008-11-04 13:04:40 +01:00
2008-10-16 11:21:47 -07:00
2008-10-16 11:21:31 -07:00