From: Steven Rostedt Date: Thu, 12 Mar 2009 17:13:49 +0000 (-0400) Subject: ring-buffer: remove unneeded get_online_cpus X-Git-Tag: v2.6.30-rc1~2^2~41^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8aabee573dff131a085c63de7667eacd94ba4ccb;p=pandora-kernel.git ring-buffer: remove unneeded get_online_cpus Impact: speed up and remove possible races The get_online_cpus was added to the ring buffer because the original design would free the ring buffer on a CPU that was being taken off line. The final design kept the ring buffer around even when the CPU was taken off line. This is to allow a user to still read the information on that ring buffer. Most of the get_online_cpus are no longer needed since the ring buffer will not disappear from the use cases. Reported-by: KOSAKI Motohiro Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed