]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cpumask: put cpumask_of_cpu_map in the initdata section
authorMike Travis <travis@sgi.com>
Fri, 25 Jul 2008 01:21:30 +0000 (18:21 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Jul 2008 14:40:33 +0000 (16:40 +0200)
commit6524d938b3360504b43a1278b5a8403e85383d1a
tree8edbe9e88883e992f63c68ca0f1ea3ab4594ebb9
parentb8d317d10cca76cabe6b03ebfeb23cc99118b731
cpumask: put cpumask_of_cpu_map in the initdata section

  * Create the cpumask_of_cpu_map statically in the init data section
    using NR_CPUS but replace it during boot up with one sized by
    nr_cpu_ids (num possible cpus).

Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/setup_percpu.c
kernel/cpu.c