From: John Hawkes Date: Thu, 13 Oct 2005 16:30:31 +0000 (-0700) Subject: [NET]: Wider use of for_each_*cpu() X-Git-Tag: v2.6.15-rc1~733^2~5^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=670c02c2bfd2c8a305a90f5285409a7b0a8fd630;p=pandora-kernel.git [NET]: Wider use of for_each_*cpu() In 'net' change the explicit use of for-loops and NR_CPUS into the general for_each_cpu() or for_each_online_cpu() constructs, as appropriate. This widens the scope of potential future optimizations of the general constructs, as well as takes advantage of the existing optimizations of first_cpu() and next_cpu(), which is advantageous when the true CPU count is much smaller than NR_CPUS. Signed-off-by: John Hawkes Signed-off-by: David S. Miller Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed