public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] fix broken irq affinity
@ 2006-05-16 23:29 Chen, Kenneth W
  0 siblings, 0 replies; only message in thread
From: Chen, Kenneth W @ 2006-05-16 23:29 UTC (permalink / raw)
  To: linux-ia64

It's been broken for a while ...

When CONFIG_PCI_MSI is set, move_irq() is an empty function, causing
grief when sys admin tries to bind interrupt to CPU.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>

--- ./arch/ia64/kernel/iosapic.c.orig	2006-05-16 17:06:12.000000000 -0700
+++ ./arch/ia64/kernel/iosapic.c	2006-05-16 17:06:36.000000000 -0700
@@ -385,7 +385,7 @@ iosapic_end_level_irq (unsigned int irq)
 	ia64_vector vec = irq_to_vector(irq);
 	struct iosapic_rte_info *rte;
 
-	move_irq(irq);
+	move_native_irq(irq);
 	list_for_each_entry(rte, &iosapic_intr_info[vec].rtes, rte_list)
 		iosapic_eoi(rte->addr, vec);
 }
@@ -427,7 +427,7 @@ iosapic_ack_edge_irq (unsigned int irq)
 {
 	irq_desc_t *idesc = irq_descp(irq);
 
-	move_irq(irq);
+	move_native_irq(irq);
 	/*
 	 * Once we have recorded IRQ_PENDING already, we can mask the
 	 * interrupt for real. This prevents IRQ storms from unhandled



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

only message in thread, other threads:[~2006-05-16 23:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-16 23:29 [patch] fix broken irq affinity Chen, Kenneth W

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