diff options
author | Mike Travis <travis@sgi.com> | 2008-03-26 22:23:48 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-19 19:44:59 +0200 |
commit | e0982e90cd1ecf59818b137386b7f63debded9cc (patch) | |
tree | 3cdbfa8a69dca4a9c9596d61bffa32f1b676f09d /include | |
parent | sched: remove another cpumask_t variable from stack (diff) | |
download | linux-e0982e90cd1ecf59818b137386b7f63debded9cc.tar.xz linux-e0982e90cd1ecf59818b137386b7f63debded9cc.zip |
init: move setup of nr_cpu_ids to as early as possible
Move the setting of nr_cpu_ids from sched_init() to start_kernel()
so that it's available as early as possible.
Note that an arch has the option of setting it even earlier if need be,
but it should not result in a different value than the setup_nr_cpu_ids()
function.
Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions