From: Jesse Barnes <jbarnes@engr.sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] fix interrupt rerouting for Altix
Date: Fri, 18 Jun 2004 17:17:37 +0000 [thread overview]
Message-ID: <200406181317.37388.jbarnes@engr.sgi.com> (raw)
In-Reply-To: <200406171546.i5HFk3wF407364@fsgi900.americas.sgi.com>
On Thursday, June 17, 2004 11:46 am, Pat Gefre wrote:
> +static inline void move_irq(int irq)
> +{
> + /* note - we hold desc->lock */
> + cpumask_t tmp;
> + irq_desc_t *desc = irq_descp(irq);
> +
> + if (!cpus_empty(pending_irq_cpumask[irq])) {
> + cpus_and(tmp, pending_irq_cpumask[irq], cpu_online_map);
> + if (unlikely(!cpus_empty(tmp))) {
> + desc->handler->set_affinity(irq, pending_irq_cpumask[irq]);
> + }
> + cpus_clear(pending_irq_cpumask[irq]);
> + }
> +}
This looks like a duplicate of what's in iosapic.c. Maybe we should just have
one version of it in irq.c? Ashok?
Thanks,
Jesse
next prev parent reply other threads:[~2004-06-18 17:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-17 15:46 [PATCH] fix interrupt rerouting for Altix Pat Gefre
2004-06-18 17:17 ` Jesse Barnes [this message]
2004-06-18 22:30 ` Ashok Raj
2004-06-22 17:58 ` Pat Gefre
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=200406181317.37388.jbarnes@engr.sgi.com \
--to=jbarnes@engr.sgi.com \
--cc=linux-ia64@vger.kernel.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