aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/bitmap.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2008-12-30 09:05:12 +1030
committerRusty Russell <rusty@rustcorp.com.au>2008-12-30 09:05:12 +1030
commit278d1ed65e25d80af7c3a112d707b3f70516ddb4 (patch)
tree633c75759731d5e1c2a0fb7d4c187bc3782c6285 /include/linux/bitmap.h
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 (diff)
downloadlinux-dev-278d1ed65e25d80af7c3a112d707b3f70516ddb4.tar.xz
linux-dev-278d1ed65e25d80af7c3a112d707b3f70516ddb4.zip
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 <rusty@rustcorp.com.au> Signed-off-by: Mike Travis <travis@sgi.com>
Diffstat (limited to 'include/linux/bitmap.h')
0 files changed, 0 insertions, 0 deletions