diff options
author | Mike Travis <travis@sgi.com> | 2008-04-04 18:11:02 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:44:59 +0200 |
commit | 321a8e9dcb714f3c350ba55e41ed447bf3f05fac (patch) | |
tree | e75ca8ebcee0954dc6e313864ebba9f72e984fc8 /kernel/signal.c | |
parent | 7c16ec585c558960a508ccf9a08fcb9ed49b3754 (diff) |
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 <hpa@zytor.com>
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions