From: Mike Travis Date: Sat, 5 Apr 2008 01:11:02 +0000 (-0700) Subject: cpumask: add CPU_MASK_ALL_PTR macro X-Git-Tag: v2.6.26-rc1~1132^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=321a8e9dcb714f3c350ba55e41ed447bf3f05fac;p=pandora-kernel.git cpumask: add CPU_MASK_ALL_PTR macro * Add a static cpumask_t variable "CPU_MASK_ALL_PTR" to use as a pointer reference to CPU_MASK_ALL. This reduces where possible the instances where CPU_MASK_ALL allocates and fills a large array on the stack. Used only if NR_CPUS > BITS_PER_LONG. * Change init/main.c to use new set_cpus_allowed_ptr(). Depends on: [sched-devel]: sched: add new set_cpus_allowed_ptr function Cc: H. Peter Anvin Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed