]> git.baikalelectronics.ru Git - kernel.git/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)
commitcef8eeeedd6bc18a7cfc611c83bd9edfe0194794
treeaa8a08a5dce827cdee70b9774f2cf66615b5c4c3
parenteb504d9196e87ec946a3cacec530afa39d14fe63
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