Linux IA64 platform development
 help / color / mirror / Atom feed
From: Kimio Suganuma <k-suganuma@mvj.biglobe.ne.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] [PATCH] fix IRQ affinity
Date: Fri, 13 Jul 2001 18:59:11 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005851@msgid-missing> (raw)

Hi all,

IRQ affinity doesn't work due to missing of cpu_physical_id().
This patch fixes it.

--- arch/ia64/kernel/iosapic.c~ Fri Jul 13 12:29:18 2001
+++ arch/ia64/kernel/iosapic.c  Fri Jul 13 11:56:20 2001
@@ -215,7 +215,7 @@
        if (!mask || irq >= IA64_NUM_VECTORS)
                return;

-       dest = ffz(~mask);
+       dest = cpu_physical_id(ffz(~mask));

        pin = iosapic_irq[irq].pin;
        addr = iosapic_irq[irq].addr;


Regards,

---
Kimio Suganuma
NEC Systems, Inc.
k-suganuma@mvj.biglobe.ne.jp



                 reply	other threads:[~2001-07-13 18:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=marc-linux-ia64-105590693005851@msgid-missing \
    --to=k-suganuma@mvj.biglobe.ne.jp \
    --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