diff options
author | Mike Travis <travis@sgi.com> | 2008-04-05 05:11:01 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 21:44:59 +0400 |
commit | 9f0e8d0400d925c3acd5f4e01dbeb736e4011882 (patch) | |
tree | 970dab54eeba019e4649aa32730489206be5f8a2 /arch/m68knommu | |
parent | 321a8e9dcb714f3c350ba55e41ed447bf3f05fac (diff) | |
download | linux-9f0e8d0400d925c3acd5f4e01dbeb736e4011882.tar.xz |
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 <hpa@zytor.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/m68knommu')
0 files changed, 0 insertions, 0 deletions