]> git.baikalelectronics.ru Git - kernel.git/commit
cpumask: Cleanup more uses of CPU_MASK and NODE_MASK
authorMike Travis <travis@sgi.com>
Sat, 5 Apr 2008 01:11:12 +0000 (18:11 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Apr 2008 17:44:58 +0000 (19:44 +0200)
commitb99096c2e0f39618addbc0eac814ba36ed1e1292
tree64202cd91a942dc3ea9b88adb6da562c2fb191a8
parentc9a7e42bd2a065e1dfbf951bd799847bfc722a2d
cpumask: Cleanup more uses of CPU_MASK and NODE_MASK

 *  Replace usages of CPU_MASK_NONE, CPU_MASK_ALL, NODE_MASK_NONE,
    NODE_MASK_ALL to reduce stack requirements for large NR_CPUS
    and MAXNODES counts.

 *  In some cases, the cpumask variable was initialized but then overwritten
    with another value.  This is the case for changes like this:

    -       cpumask_t oldmask = CPU_MASK_ALL;
    +       cpumask_t oldmask;

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/io_apic_64.c
kernel/irq/chip.c
mm/allocpercpu.c