From: travis@sgi.com Date: Wed, 30 Jan 2008 12:33:11 +0000 (+0100) Subject: x86: change NR_CPUS arrays in smpboot_64 X-Git-Tag: v2.6.25-rc1~1143^2~296 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24b0d22b7b63bfc71853faf64e76cd45701ecf2a;p=pandora-kernel.git 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 Reviewed-by: Christoph Lameter Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed