From: KOSAKI Motohiro Date: Tue, 10 Mar 2009 01:49:53 +0000 (+0900) Subject: tracing: Don't assume possible cpu list have continuous numbers X-Git-Tag: v2.6.30-rc1~2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbcd3063597a3824357cd83c501c2a2aa21ef37b;p=pandora-kernel.git tracing: Don't assume possible cpu list have continuous numbers "for (++cpu ; cpu < num_possible_cpus(); cpu++)" statement assumes possible cpus have continuous number - but that's a wrong assumption. Insted, cpumask_next() should be used. Signed-off-by: KOSAKI Motohiro Cc: Lai Jiangshan Cc: Steven Rostedt Cc: Frederic Weisbecker LKML-Reference: <20090310104437.A480.A69D9226@jp.fujitsu.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed