cpumask: Add alloc_cpumask_var_node()
authorMike Travis <travis@sgi.com>
Fri, 19 Dec 2008 06:26:37 +0000 (16:56 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 19 Dec 2008 06:26:37 +0000 (16:56 +1030)
commit7b4967c532045a1983d6d4af5c69cc7c5109f62b
tree50f385985ed028b5316c1aad4b70ad08bd932e81
parent7be7585393d311866653564fbcd10a3232773c0b
cpumask: Add alloc_cpumask_var_node()

Impact: New API

This will be needed in x86 code to allocate the domain and old_domain
cpumasks on the same node as where the containing irq_cfg struct is
allocated.

(Also fixes double-dump_stack on rare CONFIG_DEBUG_PER_CPU_MAPS case)

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (re-impl alloc_cpumask_var)
include/linux/cpumask.h
lib/cpumask.c