Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH 4/5] x86: Add config variables for SMP_MAX | Date | Mon, 28 Jan 2008 18:00:24 +0100 |
| |
> The problem in kernel/sched.c:isolated_cpu_setup() is an array of > NR_CPUS integers: > > static int __init isolated_cpu_setup(char *str) > { > int ints[NR_CPUS], i; > > str = get_options(str, ARRAY_SIZE(ints), ints); > > Since isolated_cpu_setup() is an __init routine, perhaps we could > make that ints[] array static __initdata?
That or use alloc_bootmem / free_bootmem
-Andi
| |