lkml.org 
[lkml]   [2008]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 4/5] x86: Add config variables for SMP_MAX
Date

> 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


\
 
 \ /
  Last update: 2008-01-28 18:09    [W:0.072 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site