]> git.baikalelectronics.ru Git - kernel.git/commit
NR_CPUS: Replace NR_CPUS in speedstep-centrino.c
authorMike Travis <travis@sgi.com>
Sat, 19 Jul 2008 01:11:34 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 08:21:12 +0000 (10:21 +0200)
commit1f37ffdcb6715c74762248cb1617e0e4c90428cb
tree6ad78136d1ae2ec9f08edaf1a1e05225e1116ab7
parent636be8a4bebcc98d1885efcdcb325601021fc611
NR_CPUS: Replace NR_CPUS in speedstep-centrino.c

Some cleanups in speedstep-centrino.c for NR_CPUS=4096.

  * Use new CPUMASK_PTR (instead of old CPUMASK_VAR).

  * Replace arrays sized by NR_CPUS with percpu variables.

  * Cleanup some formatting problems (>80 chars per line)
    and other checkpatch complaints.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c