commit | 94a1e869c7b96a9d30e260084866383a145fd8ae | [log] [tgz] |
---|---|---|
author | Mike Travis <travis@sgi.com> | Fri Jul 18 18:11:31 2008 -0700 |
committer | Ingo Molnar <mingo@elte.hu> | Sun Jul 20 10:21:11 2008 +0200 |
tree | 9331e15facc9af794ad1c21aaa231d4e5460eb80 | |
parent | 1bd9d6b64e1474f1a03f8660e8721d746cffae57 [diff] |
NR_CPUS: Replace per_cpu(..., smp_processor_id()) with __get_cpu_var * Slight optimization when getting one's own cpu_info percpu data. Signed-off-by: Mike Travis <travis@sgi.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>