Re: NR_CPUS configuration option wrong

From: Randy Dunlap
Date: Thu May 20 2010 - 13:40:49 EST


On Thu, 20 May 2010 18:34:32 +0100 Frank A. Kingswood wrote:

> Hi!
>
> The configuration MAXSMP help text indicates it is used to enable
> configuration of number of CPUs. However, NR_CPUS depends on !MAXSMP.
>
> arch/x86/Kconfig:
> 758 config NR_CPUS
> 759 int "Maximum number of CPUs" if SMP && !MAXSMP

That line depends on !MAXSMP. Then below there, we find:

default "4096" if MAXSMP

OK?

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/