From: Steven Rostedt Date: Thu, 3 Sep 2009 23:53:46 +0000 (-0400) Subject: ring-buffer: disable all cpu buffers when one finds a problem X-Git-Tag: v2.6.32-rc1~718^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077c5407cd3231cf13472623995f0dfdda510d62;p=pandora-kernel.git ring-buffer: disable all cpu buffers when one finds a problem Currently the way RB_WARN_ON works, is to disable either the current CPU buffer or all CPU buffers, depending on whether a ring_buffer or ring_buffer_per_cpu struct was passed into the macro. Most users of the RB_WARN_ON pass in the CPU buffer, so only the one CPU buffer gets disabled but the rest are still active. This may confuse users even though a warning is sent to the console. This patch changes the macro to disable the entire buffer even if the CPU buffer is passed in. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed