lkml.org 
[lkml]   [2006]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH] x86_64: Make NR_IRQS configurable in Kconfig
    Date
    "Randy.Dunlap" <rdunlap@xenotime.net> writes:

    >>
    >> This of course applies to the -mm tree because the rest
    >> of the irq work is not yet in the mainline kernel.
    >>
    >> arch/x86_64/Kconfig | 14 ++++++++++++++
    >> include/asm-x86_64/irq.h | 3 ++-
    >> 2 files changed, 16 insertions(+), 1 deletions(-)
    >>
    >> diff --git a/arch/x86_64/Kconfig b/arch/x86_64/Kconfig
    >> index 7598d99..cea78d7 100644
    >> --- 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.
    >
    > Thanks for the language fixes.
    > I'm confused about one thing. What is NR_IRQS for non-SMP?
    > Does it default to 4096 or something else?

    Right the default is still 4096 which is fairly silly.

    > Does this build on non-SMP? Is CONFIG_NR_IRQS defined for non-SMP?

    Ugh. I have a "depends on SMP" line in there. That shouldn't be.
    Ok. I need to fix the non SMP case, at least take out the dependency
    and if I'm clever move the default down to 224.

    Eric
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-08-07 20:21    [from the cache]
    ©2003-2011 Jasper Spaans. Advertise on this site