sched, numa: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c
authorMike Travis <travis@sgi.com>
Mon, 12 May 2008 19:21:12 +0000 (21:21 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 09:31:30 +0000 (11:31 +0200)
commit076ac2af86c3b7f89ac31bc50a7508d3e035b786
tree6952562a54dea9a1bef037ca30448f4f4d9bfae8
parent886533a3e370a6d5c4e46819d1e14bd2f20dbb3a
sched, numa: replace MAX_NUMNODES with nr_node_ids in kernel/sched.c

  * Replace usages of MAX_NUMNODES with nr_node_ids in kernel/sched.c,
    where appropriate.  This saves some allocated space as well as many
    wasted cycles going through node entries that are non-existent.

Signed-off-by: Mike Travis <travis@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c