Re: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig

Adrian Bunk
2006-08-07T19:40:51Z

On Mon, Aug 07, 2006 at 12:53:35PM -0600, Eric W. Biederman wrote:
>...
> --- a/arch/x86_64/Kconfig
> +++ b/arch/x86_64/Kconfig
> @@ -384,6 +384,20 @@ config NR_CPUS
> This is purely to save memory - each supported CPU requires
> memory in the static kernel configuration.
>
> +config NR_IRQS
> + int "Maximum number of IRQs (224-57344)"

int "Maximum number of IRQs (224-57344)" depends on SMP

This way, people with SMP=n will not see this question.

> + range 224 57344
> + default "4096" if SMP
> + default "224" if !SMP

Why not always
default "224"
?

> + help
>...

cu
Adrian

--

Gentoo kernels are 42 times more popular than SUSE kernels among
KLive users (a service by SUSE contractor Andrea Arcangeli that
gathers data about kernels from many users worldwide).

There are three kinds of lies: Lies, Damn Lies, and Statistics.
Benjamin Disraeli