linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH v2] preliminary support for sparse IRQ
Date: Thu, 20 May 2010 10:21:55 +0100	[thread overview]
Message-ID: <001f01caf7fd$e3d45350$ab7cf9f0$@deacon@arm.com> (raw)
In-Reply-To: <AANLkTikSXcn9nnvaVHAsoDPmLN30E_TjNVdXu1vCOH74@mail.gmail.com>

Hi Eric,

> +#ifdef CONFIG_SPARSE_IRQ
> +int __init arch_probe_nr_irqs(void)
> +{
> +	nr_irqs = arch_nr_irqs ? arch_nr_irqs : NR_IRQS;
> +	return 0;
> +}
> +#endif

Possibly a daft question, but if CONFIG_SPARSE_IRQ is
not set, where does nr_irqs get assigned to?

Other than that, looks good to me.

Cheers,

Will

  parent reply	other threads:[~2010-05-20  9:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 10:34 [RFC PATCH v2] preliminary support for sparse IRQ Eric Miao
2010-05-18 21:45 ` Marek Vasut
2010-05-19  6:53   ` Eric Miao
2010-05-20  8:28 ` Paul Mundt
2010-05-20  8:37   ` Eric Miao
2010-05-20  8:37     ` Paul Mundt
2010-05-21 19:46   ` Russell King - ARM Linux
2010-05-22  3:34     ` Eric Miao
2010-06-25 12:50     ` Eric Miao
2010-05-20  9:21 ` Will Deacon [this message]
     [not found] ` <3319586236559971954@unknownmsgid>
2010-05-20  9:25   ` Eric Miao
2010-05-20 10:10     ` Eric Miao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001f01caf7fd$e3d45350$ab7cf9f0$@deacon@arm.com' \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).