public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] [PATCH] fix IRQ affinity
@ 2001-07-13 18:59 Kimio Suganuma
  0 siblings, 0 replies; only message in thread
From: Kimio Suganuma @ 2001-07-13 18:59 UTC (permalink / raw)
  To: linux-ia64

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-13 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-13 18:59 [Linux-ia64] [PATCH] fix IRQ affinity Kimio Suganuma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox