Skip to contentSkip to conversation

Multiple vector domain support - change irq_to_vector

RFC PATCH In review Kenji Kaneshige 1 participant 1 message Jul 14, 2005

lore
Share & tools
lore
#0 lore raw

RFC PATCH 6/10 Multiple vector domain support - change irq_to_vector

This patch changes irq_to_vector() to abolish the identity mapping between IA-64 vector and Linux IRQ.

---

 linux-2.6.13-rc1-kanesige/include/asm-ia64/hw_irq.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
include/asm-ia64/hw_irq.h renamed from include/asm-ia64/hw_irq.h~vector-domain-ia64-change-irq_to_vector +1 -1
diff -puN include/asm-ia64/hw_irq.h~vector-domain-ia64-change-irq_to_vector include/asm-ia64/hw_irq.h
@@ -207,7 +207,7 @@ irq_descp (int irq)
 static inline ia64_vector
 irq_to_vector (int irq)
 {
-	return (ia64_vector) irq;
+	return (ia64_vector) gsv_to_vector(irq_to_gsv(irq));
 }
 
 /*

_