cpumask: Optimize cpumask_of_cpu in lib/smp_processor_id.c
commit4755b9291204982ac908e069674d6e5eb45815b3
authorMike Travis <travis@sgi.com>
Tue, 15 Jul 2008 21:14:35 +0000 (15 14:14 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 20:02:59 +0000 (18 22:02 +0200)
tree9e5270d79609e3ba0888ed4fff778f3f9adf7c68
parentc18a41fbbc500ac0307ffd2b0ae73c2af9d0b0ab
cpumask: Optimize cpumask_of_cpu in lib/smp_processor_id.c

  * Optimize various places where a pointer to the cpumask_of_cpu value
    will result in reducing stack pressure.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
lib/smp_processor_id.c