]> err.no Git - linux-2.6/commit
x86: change NR_CPUS arrays in smpboot_64
authortravis@sgi.com <travis@sgi.com>
Wed, 30 Jan 2008 12:33:11 +0000 (13:33 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:33:11 +0000 (13:33 +0100)
commit24b0d22b7b63bfc71853faf64e76cd45701ecf2a
treeaa8a08a5dce827cdee70b9774f2cf66615b5c4c3
parent2c6b8c030cfca334c3d700ee504036c585c4c6a3
x86: change NR_CPUS arrays in smpboot_64

Change the following static arrays sized by NR_CPUS to
per_cpu data variables:

task_struct *idle_thread_array[NR_CPUS];

This is only done if CONFIG_HOTPLUG_CPU is defined
as otherwise, the array is removed after initialization
anyways.

Signed-off-by: Mike Travis <travis@sgi.com>
Reviewed-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/smpboot_64.c