diff options
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | 2009-03-10 02:49:53 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-10 10:20:30 +0100 |
commit | bbcd3063597a3824357cd83c501c2a2aa21ef37b (patch) | |
tree | 4da63cbe8e3740fd9645fbbf6aeeed5d21ac6437 /lib | |
parent | Merge branch 'x86/core' into tracing/ftrace (diff) | |
download | linux-bbcd3063597a3824357cd83c501c2a2aa21ef37b.tar.xz linux-bbcd3063597a3824357cd83c501c2a2aa21ef37b.zip |
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 <kosaki.motohiro@jp.fujitsu.com>
Cc: Lai Jiangshan <laijs@cn.fujitsu.com>
Cc: Steven Rostedt <srostedt@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <20090310104437.A480.A69D9226@jp.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions