From: Mike Travis Date: Sat, 5 Apr 2008 01:11:01 +0000 (-0700) Subject: x86: convert cpumask_of_cpu macro to allocated array X-Git-Tag: v2.6.26-rc1~1132^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f0e8d0400d925c3acd5f4e01dbeb736e4011882;p=pandora-kernel.git x86: convert cpumask_of_cpu macro to allocated array * Here is a simple patch to use an allocated array of cpumasks to represent cpumask_of_cpu() instead of constructing one on the stack. It's based on the Kconfig option "HAVE_CPUMASK_OF_CPU_MAP" which is currently only set for x86_64 SMP. Otherwise the the existing cpumask_of_cpu() is used but has been changed to produce an lvalue so a pointer to it can be used. Cc: H. Peter Anvin Signed-off-by: Christoph Lameter Signed-off-by: Mike Travis Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed