From: Rusty Russell Date: Mon, 29 Dec 2008 22:35:12 +0000 (+1030) Subject: cpumask: make CONFIG_NR_CPUS always valid. X-Git-Tag: v2.6.29-rc1~521^2~11^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=278d1ed65e25d80af7c3a112d707b3f70516ddb4;p=pandora-kernel.git cpumask: make CONFIG_NR_CPUS always valid. Impact: cleanup Currently we have NR_CPUS, which is 1 on UP, and CONFIG_NR_CPUS on SMP. If we make CONFIG_NR_CPUS always valid (and always 1 on !SMP), we can skip the middleman. This also allows us to find and check all the unaudited NR_CPUS usage as we prepare for v. large NR_CPUS. To avoid breaking every arch, we cheat and do this for the moment in the header if the arch doesn't. Signed-off-by: Rusty Russell Signed-off-by: Mike Travis --- Reading git-diff-tree failed