]> err.no Git - linux-2.6/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)
commitc4762aba0b1f72659aae9ce37b772ca8bd8f06f4
tree6ad78136d1ae2ec9f08edaf1a1e05225e1116ab7
parent80422d3431cc990b967da129f9eb8e3e9989f841
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