]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sched: reduce stack size in isolated_cpu_setup()
authorMike Travis <travis@sgi.com>
Tue, 1 Jul 2008 17:32:50 +0000 (10:32 -0700)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 09:55:42 +0000 (11:55 +0200)
  * Remove 16k stack requirements in isolated_cpu_setup when NR_CPUS=4096.

Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c

index 99e6d850ecab097e4d1c5cbda1e0419548093681..1ee18dbb451659de9feb1de076708a89777d22a6 100644 (file)
@@ -6768,7 +6768,8 @@ static cpumask_t cpu_isolated_map = CPU_MASK_NONE;
 /* Setup the mask of cpus configured for isolated domains */
 static int __init isolated_cpu_setup(char *str)
 {
-       int ints[NR_CPUS], i;
+       static int __initdata ints[NR_CPUS];
+       int i;
 
        str = get_options(str, ARRAY_SIZE(ints), ints);
        cpus_clear(cpu_isolated_map);