[2.6 patch] ia64: use range for NR_CPUS

From: Adrian Bunk
Date: Fri Jan 09 2004 - 18:49:24 EST


On Thu, Jan 08, 2004 at 09:17:06PM -0800, Paul Jackson wrote:
> > The help text on ia64 didn't suggest any values. Could someone tell the
> > correct values for ia64 (and if it's only a minimum value of 2)?
>
> It keeps moving. We've announced experimental versions up to 512 CPUs,
> I believe. We being SGI, and our SN product, which uses ia64 arch. So
> I guess you can put that in.

Thanks for this information.

The patch to use "range" for NR_CPUS on ia64 is below.

cu
Adrian

--- linux-2.6.1-mm1/arch/ia64/Kconfig.old 2004-01-10 00:44:19.000000000 +0100
+++ linux-2.6.1-mm1/arch/ia64/Kconfig 2004-01-10 00:45:17.000000000 +0100
@@ -411,7 +411,8 @@
support" (CONFIG_PROC_FS) is enabled, too.

config NR_CPUS
- int "Maximum number of CPUs"
+ int "Maximum number of CPUs (2-512)"
+ range 2 512
depends on SMP
default "64"
help
-
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/