From: Rusty Russell Date: Mon, 29 Dec 2008 22:35:19 +0000 (+1030) Subject: cpumask: Use nr_cpu_ids in seq_cpumask X-Git-Tag: v2.6.29-rc1~521^2~11^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e12f0102ac81d660c9f801d0a0e10ccf4537a9de;p=pandora-kernel.git cpumask: Use nr_cpu_ids in seq_cpumask Impact: cleanup, futureproof nr_cpu_ids is the (badly named) runtime limit on possible CPU numbers; ie. the variable version of NR_CPUS. With the new cpumask operators, only bits less than this are defined. So we should use it everywhere, rather than NR_CPUS. Eventually this will make it possible to allocate cpumasks of the minimal length at runtime. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis Acked-by: Ingo Molnar --- Reading git-diff-tree failed